Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@solendil
Copy link

#58, #57 are related to cases when the bookmark list contain bookmarks for editors that don't exist anymore. There are two cases:

When the editor was pending

I propose to clear the pending status when a bookmark is set. After all, if you set a bookmark on a file, you probably don't want it to disappear when previewing another file.

Other situations where we don't have a clear scenario

I encountered such situations, yet couldn't reproduce them. I propose some simple defensive code: verify that editors are still alive before putting their bookmarks in the list.

@winstliu
Copy link
Contributor

winstliu commented Aug 8, 2016

I can't reproduce #58 on pending pane items. The bookmarks list is empty after the preview changes.

edit: your change to make the pending items permanent makes sense though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants