static void OnRemoved(BookmarkEventArgs e) { if (Removed != null) { Removed(null, e); } }
static void OnAdded(BookmarkEventArgs e) { if (Added != null) { Added(null, e); } }
static void BookmarkRemoved(object sender, BM.BookmarkEventArgs e) { BreakpointBookmark bb = e.Bookmark as BreakpointBookmark; if (bb != null) { bb.RemoveMarker(); OnBreakPointRemoved(new BreakpointBookmarkEventArgs(bb)); } }
static void BookmarkAdded(object sender, BM.BookmarkEventArgs e) { BreakpointBookmark bb = e.Bookmark as BreakpointBookmark; if (bb != null) { bb.LineNumberChanged += BookmarkChanged; OnBreakPointAdded(new BreakpointBookmarkEventArgs(bb)); } }
void BookmarkManagerRemoved(object sender, BookmarkEventArgs e) { if (ShowBookmarkInThisPad(e.Bookmark)) { var model = listView.Remove(e.Bookmark); if (model != null) { model.PropertyChanged -= OnModelPropertyChanged; } } }
void BookmarkManagerRemoved(object sender, BookmarkEventArgs e) { if (fileNodes.ContainsKey(e.Bookmark.FileName)) { fileNodes[e.Bookmark.FileName].RemoveMark(e.Bookmark); if (fileNodes[e.Bookmark.FileName].Marks.Count == 0) { bookmarkTreeView.Nodes.Remove(fileNodes[e.Bookmark.FileName]); fileNodes.Remove(e.Bookmark.FileName); } } }
void BookmarkManager_Removed(object sender, BookmarkEventArgs e) { var mark = e.Bookmark; if (mark != null && codeView.IconBarManager.Bookmarks.Contains(mark)) { codeView.IconBarManager.Bookmarks.Remove(mark); mark.Document = null; } }
void BookmarkManager_Added(object sender, BookmarkEventArgs e) { if (FileUtility.IsEqualFileName(this.PrimaryFileName, e.Bookmark.FileName)) { codeEditor.IconBarManager.Bookmarks.Add(e.Bookmark); e.Bookmark.Document = codeEditor.DocumentAdapter; } }
void BookmarkManagerAdded(object sender, BookmarkEventArgs e) { AddMark((SDBookmark)e.Bookmark); }
void BookmarkManagerRemoved(object sender, BookmarkEventArgs e) { if (ShowBookmarkInThisPad(e.Bookmark)) listView.Remove(new ListViewPadItemModel(e.Bookmark)); }
void BookmarkManager_Removed(object sender, BookmarkEventArgs e) { codeEditor.IconBarManager.Bookmarks.Remove(e.Bookmark); if (e.Bookmark.Document == codeEditor.DocumentAdapter) { e.Bookmark.Document = null; } }
void BookmarkManagerRemoved(object sender, BookmarkEventArgs e) { listView.Remove(new ListViewPadItemModel(e.Bookmark)); }
void BookmarkManager_Removed(object sender, BookmarkEventArgs e) { iconBarManager.Bookmarks.Remove(e.Bookmark); if (e.Bookmark.Document == adapter.Document) { e.Bookmark.Document = null; } }
void BookmarkManager_Added(object sender, BookmarkEventArgs e) { var mark = e.Bookmark; if (mark != null && mark is BreakpointBookmark && mark.FileName == codeView.DecompiledFullTypeName) { codeView.IconBarManager.Bookmarks.Add(mark); mark.Document = codeView.Adapter.Document; } }
void OnBookmarkRemoved(object sender, BookmarkEventArgs e) { // if the bookmark was removed from pressing the button, return if (this.PinCloseControl.IsChecked) return; if (e.Bookmark is PinBookmark) { var pin = (PinBookmark)e.Bookmark; if (pin.Location == Mark.Location && pin.FileName == Mark.FileName) { Close(); } } }
static void BookmarkAdded(object sender, BookmarkEventArgs e) { BreakpointBookmark bb = e.Bookmark as BreakpointBookmark; if (bb != null) { bb.LineNumberChanged += BookmarkChanged; OnBreakPointAdded(new BreakpointBookmarkEventArgs(bb)); } }
static void BookmarkRemoved(object sender, BookmarkEventArgs e) { BreakpointBookmark bb = e.Bookmark as BreakpointBookmark; if (bb != null) { bb.RemoveMarker(); OnBreakPointRemoved(new BreakpointBookmarkEventArgs(bb)); } }
void BookmarkManagerRemoved(object sender, BookmarkEventArgs e) { if (ShowBookmarkInThisPad(e.Bookmark)) { var model = listView.Remove(e.Bookmark); if (model != null) model.PropertyChanged -= OnModelPropertyChanged; } }
void BookmarkManager_Added(object sender, BookmarkEventArgs e) { var mark = e.Bookmark; if (mark != null && mark is BreakpointBookmark && mark.FileName == this.codeView.TextEditor.FileName) { codeView.IconBarManager.Bookmarks.Add(mark); mark.Document = this.codeView.TextEditor.Document; } }