[Monodevelop-patches-list] r1097 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Mar 3 18:47:14 EST 2004
Author: tberman
Date: 2004-03-03 18:47:14 -0500 (Wed, 03 Mar 2004)
New Revision: 1097
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorWidget.cs
Log:
fixing execution markers location yet again.
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs 2004-03-03 23:26:00 UTC (rev 1096)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs 2004-03-03 23:47:14 UTC (rev 1097)
@@ -316,6 +316,9 @@
if (found_marker)
return;
+ if (type.ToString () == "ExecutionMark")
+ begin_line.LineOffset = 1;
+
gtk_source_buffer_create_marker (Handle, null, type.ToString (), ref begin_line);
}
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorWidget.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorWidget.cs 2004-03-03 23:26:00 UTC (rev 1096)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorWidget.cs 2004-03-03 23:47:14 UTC (rev 1097)
@@ -25,15 +25,14 @@
Buffer.Highlight = true;
View.SetMarkerPixbuf ("SourceEditorBookmark", new Gdk.Pixbuf (drag_icon_xpm));
- View.SetMarkerPixbuf ("BreakpointMark", new Gdk.Pixbuf ("../data/resources/icons/BreakPoint.png"));
View.SetMarkerPixbuf ("ExecutionMark", new Gdk.Pixbuf ("../data/resources/icons/ExecutionMarker.png"));
+ View.SetMarkerPixbuf ("BreakpointMark", new Gdk.Pixbuf ("../data/resources/icons/BreakPoint.png"));
Add (View);
}
public void ExecutingAt (int linenumber)
{
- Console.WriteLine ("Inside mainwidget");
View.ExecutingAt (linenumber);
}
More information about the Monodevelop-patches-list
mailing list