@Override
	public void install(@Nonnull Editor editor) {
		this.editor = editor;
		codeArea = editor.getCodeArea();

		// Register event observer with short delay so rapid event fires only
		// consume the most recent event instance.
		lastEventStream = editor.getCaretPosEventStream()
				.successionEnds(Duration.ofMillis(Editor.SHORT_DELAY_MS));
		lastEventStream.addObserver(this);
	}
Bracket tracking component for {@link Editor}.
Records matching bracket pairs the user is interacting with.

@author Matt Coley
@see BracketMatchGraphicFactory Adds a line indicator to an {@link Editor} for lines covering the {@link #getRange() range}.
@see Editor#setSelectedBracketTracking(SelectedBracketTracking) Call to install into an {@link Editor}.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/bracket/SelectedBracketTracking.java