Browse Source

Fixed SD2-1157. Changed the breakpoint text highlight colour so it matches the breakpoint icon.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2297 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 19 years ago
parent
commit
4d9719d51b
  1. 4
      src/Main/Base/Project/Src/Services/Debugger/BreakpointBookmark.cs

4
src/Main/Base/Project/Src/Services/Debugger/BreakpointBookmark.cs

@ -17,6 +17,8 @@ namespace ICSharpCode.SharpDevelop.Debugging @@ -17,6 +17,8 @@ namespace ICSharpCode.SharpDevelop.Debugging
{
bool willBeHit = true;
static readonly Color defaultColor = Color.FromArgb(180, 38, 38);
public virtual bool WillBeHit {
get {
return willBeHit;
@ -44,7 +46,7 @@ namespace ICSharpCode.SharpDevelop.Debugging @@ -44,7 +46,7 @@ namespace ICSharpCode.SharpDevelop.Debugging
if (LineNumber >= Document.TotalNumberOfLines)
LineNumber = Document.TotalNumberOfLines - 1;
LineSegment lineSeg = Document.GetLineSegment(LineNumber);
TextMarker marker = new TextMarker(lineSeg.Offset, lineSeg.Length, TextMarkerType.SolidBlock, Color.Red, Color.White);
TextMarker marker = new TextMarker(lineSeg.Offset, lineSeg.Length, TextMarkerType.SolidBlock, defaultColor, Color.White);
Document.MarkerStrategy.AddMarker(marker);
return marker;
}

Loading…
Cancel
Save