Hilite/mark all words matching current selection

When selecting a word (double clicking), it would be helpful if all same words would be highlighted in the document so one can easily see where it is used.

Something like in BBEdit where all equal words are then underlined?
Fine idea to quicly view the use of your variables