void (@NotNull T change) { EditorEx editor = getEditor(); DocumentEx document = editor.getDocument(); CommandProcessor.getInstance().executeCommand(editor.getProject(), () -> { scrollToChange(change); }, "", DocCommandGroupId.noneGroupId(document), UndoConfirmationPolicy.DEFAULT, document); }