question: private void removeHighlights ( ) { if ( textArea != null ) { RSyntaxTextAreaHighlighter h = ( RSyntaxTextAreaHighlighter ) textArea . getHighlighter ( ) ; for ( int i = 0 ; i < tags . size ( ) ; i ++ ) { h . removeMarkOccurrencesHighlight ( tags . get ( i ) ) ; } } tags . clear ( ) ; }
target:  Removes all highlights added to the text area by this listener.