public CompletableFuture<Void> restyleAtPosition(int position, int length) {
		if (syntaxHighlighter != null) {
			return schedule(syntaxPool, FALLBACK_STYLE_RESULT, () -> {
				IntRange range = SyntaxUtil.getRangeForRestyle(getText(), getStyleSpans(),
						syntaxHighlighter, new PlainTextChange(position, "", ".".repeat(length)));
				int start = range.start();
				int end = range.end();
				return new StyleResult(syntaxHighlighter.createStyleSpans(getText(), start, end), start);
			}, result -> codeArea.setStyleSpans(result.position(), result.spans()));
		}
		return CompletableFuture.completedFuture(null);
	}
The passed inputs for the position will be modified as per
{@link SyntaxUtil#getRangeForRestyle(String, StyleSpans, SyntaxHighlighter, PlainTextChange)}.
For this reason, you do not have to be super exact with the given values.

@param position
		Start position to begin the restyling at.
@param length
		Length of the restyled range.

@return Restyle future.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/Editor.java