|
|
@ -132,9 +132,13 @@ namespace ICSharpCode.SharpDevelop.Project.Commands |
|
|
|
{ |
|
|
|
{ |
|
|
|
public override void Run() |
|
|
|
public override void Run() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (Owner == null || !(Owner is BookmarkPadBase)) return; |
|
|
|
|
|
|
|
|
|
|
|
var bookmarkBase = (BookmarkPadBase)Owner; |
|
|
|
var bookmarkBase = (BookmarkPadBase)Owner; |
|
|
|
var item = bookmarkBase.CurrentItem; |
|
|
|
var item = bookmarkBase.CurrentItem; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (item == null) return; |
|
|
|
|
|
|
|
|
|
|
|
if (item.Mark is BreakpointBookmark) { |
|
|
|
if (item.Mark is BreakpointBookmark) { |
|
|
|
BookmarkManager.RemoveMark(item.Mark); |
|
|
|
BookmarkManager.RemoveMark(item.Mark); |
|
|
|
} |
|
|
|
} |
|
|
|