Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2012-05-03 18:52:48 +0400
committerMike Krüger <mkrueger@xamarin.com>2012-05-08 08:30:22 +0400
commitfca68e00d32cb556d9b8fea0963e20e2685320d3 (patch)
tree25d7d8d8c5a94d6775c037004a2a51d92882bdcf
parent5830190996715c87a5421a5a16559e1e717bd3a7 (diff)
Fixed 'Bug 4861 - Breakpoints do not render in yellow when hit'.
-rw-r--r--main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebugTextMarker.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebugTextMarker.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebugTextMarker.cs
index 4c11cfb828..b4a79a34a3 100644
--- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebugTextMarker.cs
+++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebugTextMarker.cs
@@ -57,13 +57,14 @@ namespace MonoDevelop.Debugger
this.editor = editor;
}
+
public override void Draw (TextEditor editor, Cairo.Context cr, Pango.Layout layout, bool selected, int startOffset, int endOffset, double y, double startXPos, double endXPos)
{
- if (LineSegment.Markers.Any (m => m is CurrentDebugLineTextMarker))
+ if (!(this is CurrentDebugLineTextMarker) && LineSegment.Markers.Any (m => m is CurrentDebugLineTextMarker))
return;
base.Draw (editor, cr, layout, selected, startOffset, endOffset, y, startXPos, endXPos);
}
-
+
public void DrawIcon (Mono.TextEditor.TextEditor editor, Cairo.Context cr, DocumentLine line, int lineNumber, double x, double y, double width, double height)
{
double size;
@@ -173,7 +174,7 @@ namespace MonoDevelop.Debugger
IncludedStyles |= StyleFlag.BackgroundColor | StyleFlag.Color;
IsTracepoint = isTracePoint;
}
-
+
protected override void DrawIcon (Cairo.Context cr, double x, double y, double size)
{
Cairo.Color color1 = editor.ColorStyle.BreakpointMarkerColor1;