private void setRange(@Nullable IntRange newRange) {
		IntRange lastRange = range;
		range = newRange;

		// Redraw paragraphs visible when the range is modified.
		if (!Objects.equals(lastRange, newRange))
			FxThreadUtil.run(() -> editor.redrawParagraphGraphics());
	}
Assigns the current selected bracket pair range.
When the new value differs from the last value, the linked editor will redraw its paragraph graphics.

@param newRange
		New range to assign. {@code null} to remove selected bracket pair range.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/bracket/SelectedBracketTracking.java