Add option to highlight all words matching the current selection

(not ready to merge!)
You probably want to have a limit to the length/type of the text. ie. not when you select just a space character. Also would selecting a single letter highlight only words and not parts of words?