Tuchkata / styles-highlighter

Styles highlighter plugin for the Atom text editor.
MIT License
3 stars 1 forks source link

Occurence highlighter only works with one File #2

Closed oxygen0211 closed 8 years ago

oxygen0211 commented 8 years ago

The simple standard scenario (open file -> toggle highlighter -> mark -> see highlights) works without problems, however it will only work for one file. When switching focus between files, styles highlighter will keep focus on the first one.

This semms to be a problem with the editor instance. When implementing #1, I moved the variable to be static and apparently didn't think of all the implications.

Will take care of it.