sfaedo / auto-reveal-active-file

Auto reveal the current active file in the tree view on Atom editor
MIT License
3 stars 1 forks source link

Breaks Cmd-(Number) to switch between tabs #2

Open galori opened 8 years ago

galori commented 8 years ago

To reproduce:

1) Install auto-reveal-active-file 2) Open four tabs 3) (You should be on Tab #4 now) 4) Press Cmd-1, Cmd-2, Cmd-3, Cmd-4

Expected behavior:

The editor should jump between tabs 1, 2, 3 and 4

Observed behavior:

Only the first tab shows is displayed. 2, 3, and 4 are not.

Workaround / possible explanation:

I'm guessing this is the result of the focus being taken out of the editor. If I click in the editor between every tab switch it does work:

Cmd-1, (Click in the editor) Cmd-2, (Click in the editor) Cmd-3, (Click in the editor) Cmd-4 (Click in the editor)

sfaedo commented 8 years ago

Fixed, please verify it on version 0.3.1 (this was working fine on Windows), it was the focus taken out of the editor

galori commented 8 years ago

Thanks so much for looking at this.

It works for the first file, but doesn't work for subsequent files. As in:

Thanks again for looking at this. Yes this was not in Windows, this was in OSX. If you're a Windows user, double-thanks for looking.