refs bug 976213: refactored highlighter to respect overlay menu and long code lines