[Monodevelop-patches-list] r1740 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri Jun 11 09:16:14 EDT 2004


Author: tberman
Date: 2004-06-11 09:16:14 -0400 (Fri, 11 Jun 2004)
New Revision: 1740

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
Log:
maybe this fixes the undo bug, to my chagrin


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-06-11 13:07:22 UTC (rev 1739)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-06-11 13:16:14 UTC (rev 1740)
@@ -1,4 +1,11 @@
+2004-06-11  Todd Berman  <tberman at sevenl.net>
+
+	* CodeCompletion/CompletionWindow.cs: pretty sure this is the undo
+	bug that has people all freaked out (for good reason). well, one of the
+	two changed lines is, the other is just to be a bit more correct.
+
 2004-06-10  John BouAntoun  <jba-mono at optusnet.com.au>
+
 	* Gui/Dialogs/ReplaceInFilesDialog.cs: Fix ReplaceInFilesDialog to 
 	make it show instead of crashing MD, also made the '...' browse 
 	button pick up current path or use default project path in the 

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-06-11 13:07:22 UTC (rev 1739)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-06-11 13:16:14 UTC (rev 1740)
@@ -92,6 +92,7 @@
 					control.SimulateKeyPress (ref e);
 					if (insertLength <= -1) {
 						LostFocusListView (null, null);
+						return true;
 					}
 					RowActivated (null, null);
 					return true;
@@ -335,6 +336,7 @@
 		{
 			control.buf.DropCompleteAhead ();
 			control.buf.EndAtomicUndo ();
+			listView.FocusOutEvent -= LostFocusListView;
 			control.HasFocus = true;
 			declarationviewwindow.HideAll ();
 			this.Hide ();




More information about the Monodevelop-patches-list mailing list