|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|