[Monodevelop-patches-list] r1242 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu Mar 25 15:31:21 EST 2004
Author: tberman
Date: 2004-03-25 15:31:21 -0500 (Thu, 25 Mar 2004)
New Revision: 1242
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
Log:
more codecompletion usability buglets
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-03-25 20:20:56 UTC (rev 1241)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-03-25 20:31:21 UTC (rev 1242)
@@ -1,5 +1,11 @@
2004-03-25 Todd Berman <tberman at sevenl.net>
+ * Gui/SourceEditorView.cs: insert the character, *then* start the code
+ completion window, this results in the code completion window showing
+ up in the correct place (under the cursor, not under the previous char)
+
+2004-03-25 Todd Berman <tberman at sevenl.net>
+
* CodeCompletion/CompletionWindow.cs: only UnselectAll when you have
a better option, otherwise stay where you are.
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2004-03-25 20:20:56 UTC (rev 1241)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2004-03-25 20:31:21 UTC (rev 1242)
@@ -166,9 +166,10 @@
goto case '.';
case '.':
+ bool retval = base.OnKeyPressEvent (evnt);
completionWindow = new CompletionWindow (this, ParentEditor.DisplayBinding.ContentName, new CodeCompletionDataProvider ());
completionWindow.ShowCompletionWindow ((char)key);
- break;
+ return retval;
/*case '(':
try {
InsightWindow insightWindow = new InsightWindow(this, ParentEditor.DisplayBinding.ContentName);
More information about the Monodevelop-patches-list
mailing list