TextHighlights: simplify the implementation.