[Monodevelop-patches-list] r958 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Feb 20 00:19:02 EST 2004
Author: tberman
Date: 2004-02-20 00:19:02 -0500 (Fri, 20 Feb 2004)
New Revision: 958
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
Log:
goto matching brace scrolls cursor onscreen now...
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-02-20 05:18:49 UTC (rev 957)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-02-20 05:19:02 UTC (rev 958)
@@ -128,8 +128,8 @@
{
TextIter iter = se.Buffer.GetIterAtMark (se.Buffer.InsertMark);
if (Source.IterFindMatchingBracket (ref iter)) {
- Console.WriteLine ("should be moved");
se.Buffer.PlaceCursor (iter);
+ se.View.ScrollMarkOnscreen (se.Buffer.InsertMark);
}
}
More information about the Monodevelop-patches-list
mailing list