public void paintLayeredHighlights(Graphics g,int p0,int p1,Shape viewBounds,JTextComponent editor,View view){
  paintListLayered(g,p0,p1,viewBounds,editor,view,markedOccurrences);
  super.paintLayeredHighlights(g,p0,p1,viewBounds,editor,view);
  paintListLayered(g,p0,p1,viewBounds,editor,view,parserHighlights);
}

public void paintLayeredHighlights ( Graphics g , int p0 , int p1 , Shape viewBounds , JTextComponent editor , View view ) { paintListLayered ( g , p0 , p1 , viewBounds , editor , view , markedOccurrences ) ; super . paintLayeredHighlights ( g , p0 , p1 , viewBounds , editor , view ) ; paintListLayered ( g , p0 , p1 , viewBounds , editor , view , parserHighlights ) ; }
when leaf views ( such as labelview ) are rendering they should call into this method . if a highlight is in the given region it will be drawn immediately .
