Open Ingramz opened 8 years ago
I'm using:
and its working totally fine at my end.
Please try to update your package https://github.com/bigfive/atom-sublime-select/releases/tag/v1.7.2
It does not work without restarting the atom editor after the plugin has been updated, but after that it works as expected.
Restarting the editor is equivalent to reloading. The first already-open document will not have the selection activated caused by this change.
None of the observed events are triggered when the editor is opened.
I cant reproduce this with the "first already-open document". Is this still an issue for you?
Interesting, I did not see your reply.
I just now tested this on both mac and windows, clean Atom installs, both have this issue.
I'll try explaing again: Have two files text documents open in a single editor window and nothing else in a configuration that can be seen from the gif (no split panes etc). Next restart the editor with keyboard shortcut or using menu (View->Developer->Reload Window). Now try selecting on the document that you see that is already open - that should fail. Switch to the other open document and try selecting there - should work. Then switch back to the first document to verify that now selecting works there too.
You can visualize this by adding a debug print to the switch_editor_handler method and using developer console to see that the method does not get triggered if the editor documents were already opened when the application loads (meaning there's no change in active pane item nor a pane is created or destroyed; just loaded previously existing editor state).
Still open. Issue #160 is a duplicate of this, I just realised. Issue still present in v 1.7.5