multi-keywords-highlighter
multi-keywords-highlighter copied to clipboard
Crash on empty keyword
When the keyword list contains an empty word (e.g. because the list ends in a comma) it probably tries to match EVERYTHING.
The only way out is killing and restarting the browser, and before all the tabs are restored, fix the plugin keywords.
Why would any sane person do that? It happened accidentally. I had a list of words in my editor, one on each line so I could sort and remove duplicates with the editor. I replaced the newlines between the words to commas, not realizing that there's a newline after the last word. I copy/pasted the line (now too long to fit on my screen) quickly into the plugin. Moreover, I do this a lot in Java, which plainly ignores trailing commas in array initializers, so it's become a habit.
I'll fix ASAP!
Thanks in advance.