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

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Jun 15 08:48:47 EDT 2004


Author: lluis
Date: 2004-06-15 08:48:47 -0400 (Tue, 15 Jun 2004)
New Revision: 1766

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
Log:
	* CodeCompletion/CompletionWindow.cs: Make sure that EndAtomicUndo is called
	  when the completion list is empty. This should definitely fix the undo
	  issue.


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-06-14 18:10:53 UTC (rev 1765)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-06-15 12:48:47 UTC (rev 1766)
@@ -1,3 +1,9 @@
+2004-06-11  Lluis Sanchez Gual  <lluis at ximian.com>
+
+	* CodeCompletion/CompletionWindow.cs: Make sure that EndAtomicUndo is called
+	  when the completion list is empty. This should definitely fix the undo
+	  issue.
+
 2004-06-11  Todd Berman  <tberman at sevenl.net>
 
 	* CodeCompletion/CompletionWindow.cs: pretty sure this is the undo

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-06-14 18:10:53 UTC (rev 1765)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-06-15 12:48:47 UTC (rev 1766)
@@ -259,6 +259,8 @@
 
 			TreeIter iter;
 			if (store.GetIterFirst (out iter) == false) {
+				listView.FocusOutEvent -= LostFocusListView;
+				control.buf.EndAtomicUndo ();
 				control.GrabFocus ();
 				return;
 			}




More information about the Monodevelop-patches-list mailing list