[Monodevelop-patches-list] r2649 - in trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor: . Gui
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Wed Jul 13 22:04:45 EDT 2005
Author: jluke
Date: 2005-07-13 22:04:45 -0400 (Wed, 13 Jul 2005)
New Revision: 2649
Modified:
trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
Log:
2005-07-13 John Luke <john.luke at gmail.com>
* Gui/SourceEditorView.cs: make DeleteLine () use AtomicUndo
part of bug #75425, based on patch by Paul.Betts at Gmail.com (Paul Betts)
Modified: trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2005-07-13 22:21:28 UTC (rev 2648)
+++ trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2005-07-14 02:04:45 UTC (rev 2649)
@@ -1,5 +1,10 @@
2005-07-13 John Luke <john.luke at gmail.com>
+ * Gui/SourceEditorView.cs: make DeleteLine () use AtomicUndo
+ part of bug #75425, based on patch by Paul.Betts at Gmail.com (Paul Betts)
+
+2005-07-13 John Luke <john.luke at gmail.com>
+
* CodeCompletion/ListWindow.cs: scroll with the mousewheel
* CodeCompletion/CompletionListWindow.cs: complete on double-click
Modified: trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2005-07-13 22:21:28 UTC (rev 2648)
+++ trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2005-07-14 02:04:45 UTC (rev 2649)
@@ -161,7 +161,8 @@
iter.LineOffset = 0;
TextIter end_iter = buf.GetIterAtLine (iter.Line);
end_iter.LineOffset = end_iter.CharsInLine;
- buf.Delete (ref iter, ref end_iter);
+ using (AtomicUndo a = new AtomicUndo (buf))
+ buf.Delete (ref iter, ref end_iter);
}
void TriggerCodeComplete ()
More information about the Monodevelop-patches-list
mailing list