CodeMirror: Match Highlighter Demo

Select this text: hardToSpotVar
1
Select this text: hardToSpotVar
2
    And everywhere else in your code where hardToSpotVar appears will automatically illuminate.
3
Give it a try!  No more hardToSpotVars.
 

Search and highlight occurences of the selected text.