Browse Source

Provide event for changed breakpoint image

pull/263/head
Ronny Klier 14 years ago
parent
commit
6c6bab7b4e
  1. 4
      ILSpy.SharpDevelop.LGPL/Bookmarks/BreakpointBookmark.cs

4
ILSpy.SharpDevelop.LGPL/Bookmarks/BreakpointBookmark.cs

@ -63,6 +63,8 @@ namespace ICSharpCode.ILSpy.Debugger.Bookmarks @@ -63,6 +63,8 @@ namespace ICSharpCode.ILSpy.Debugger.Bookmarks
isEnabled = value;
if (IsEnabledChanged != null)
IsEnabledChanged(this, EventArgs.Empty);
if (ImageChanged != null)
ImageChanged(this, EventArgs.Empty); // Image property reflects IsEnabled property
Redraw();
}
}
@ -86,6 +88,8 @@ namespace ICSharpCode.ILSpy.Debugger.Bookmarks @@ -86,6 +88,8 @@ namespace ICSharpCode.ILSpy.Debugger.Bookmarks
}
}
public event EventHandler ImageChanged;
public override ITextMarker CreateMarker(ITextMarkerService markerService, int offset, int length)
{
ITextMarker marker = markerService.Create(offset, length);

Loading…
Cancel
Save