void applyHighlight() {
			Highlighter highlighter = editorPane.getHighlighter();
			if (highlighter == null) {
				highlighter = new DefaultHighlighter();
				editorPane.setHighlighter(highlighter);
			}

			Highlighter.HighlightPainter painter =
				new DefaultHighlighter.DefaultHighlightPainter(
					isActive ? activeHighlightColor : highlightColor);

			try {

				if (lastHighlightTag != null) {
					highlighter.removeHighlight(lastHighlightTag);
				}

				lastHighlightTag = highlighter.addHighlight(start, end, painter);
			}
			catch (BadLocationException e) {
				Msg.debug(this, "Exception adding highlight", e);
			}
		}
Makes this match active and updates the highlight color
@param b true for active
Ghidra/Framework/Docking/src/main/java/docking/widgets/TextComponentSearcher.java