void scrollToVisible() {

			try {
				Rectangle startR = editorPane.modelToView2D(start).getBounds();
				Rectangle endR = editorPane.modelToView2D(end).getBounds();
				endR.width += 20; // a little extra space so the view is not right at the text end
				Rectangle union = startR.union(endR);
				editorPane.scrollRectToVisible(union);
			}
			catch (BadLocationException e) {
				Msg.debug(this, "Exception scrolling to text", 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