[Monodevelop-patches-list] r1099 - in trunk/MonoDevelop: build/AddIns src/AddIns/DisplayBindings/SourceEditor/Gui

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Wed Mar 3 22:48:15 EST 2004


Author: tberman
Date: 2004-03-03 22:48:15 -0500 (Wed, 03 Mar 2004)
New Revision: 1099

Modified:
   trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs
Log:
add control+f5 debugger start binding... sick of selecting the damn menuitem every time.


Modified: trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin
===================================================================
--- trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin	2004-03-04 01:17:14 UTC (rev 1098)
+++ trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin	2004-03-04 03:48:15 UTC (rev 1099)
@@ -785,6 +785,7 @@
 
 				<MenuItem id = "DebugProject"
 		                          label = "Debug Project"
+				          shortcut = "Control|F5"
 			                  class = "MonoDevelop.Commands.DebugProject"/>
 			</Conditional> 
 	        </MenuItem>

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs	2004-03-04 01:17:14 UTC (rev 1098)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorBuffer.cs	2004-03-04 03:48:15 UTC (rev 1099)
@@ -316,8 +316,14 @@
 			if (found_marker)
 				return;
 			
-			if (type.ToString () == "ExecutionMark")
+			switch (type.ToString ()) {
+			case "ExecutionMark":
+				begin_line.LineOffset = 2;
+				break;
+			case "BreakpointMark":
 				begin_line.LineOffset = 1;
+				break;
+			}
 
 			gtk_source_buffer_create_marker (Handle, null, type.ToString (), ref begin_line);
 		}




More information about the Monodevelop-patches-list mailing list