void (@NotNull LogicalPosition logicalPosition, @NotNull ScrollType scrollType) { Editor editor = mySupplier.getEditor(); AsyncEditorLoader.performWhenLoaded(editor, () -> { for (ScrollRequestListener listener : myScrollRequestListeners) { listener.scrollRequested(logicalPosition, scrollType); } scrollTo(mySupplier.getScrollingHelper().calculateScrollingLocation(editor, logicalPosition), scrollType); }); }