void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { editor.getScrollingModel().scrollTo(editor.offsetToLogicalPosition(editor.getDocument().getTextLength()), ScrollType.CENTER); }