Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/bookmarks-view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class BookmarksView extends SelectListView
bookmarks = []
for editorBookmarks in @editorsBookmarks
editor = editorBookmarks.editor
continue if editor not in atom.workspace.getTextEditors()
for marker in editorBookmarks.markerLayer.getMarkers()
bookmark = {marker, editor}
bookmark.filterText = @getFilterText(bookmark)
Expand Down
3 changes: 3 additions & 0 deletions lib/bookmarks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class Bookmarks
else
@createBookmarkMarker(range)

if atom.workspace.getActivePane().getPendingItem() is @editor
atom.workspace.getActivePane().clearPendingItem()

clearBookmarks: =>
bookmark.destroy() for bookmark in @markerLayer.getMarkers()

Expand Down