mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert accidentally committed change
This commit is contained in:
-2
@@ -295,12 +295,10 @@ public class TextEditorProvider implements FileEditorProvider, DumbAware {
|
||||
UiNotifyConnector.doWhenFirstShown(editor.getContentComponent(), new Runnable() {
|
||||
public void run() {
|
||||
if (!editor.isDisposed()) {
|
||||
editor.getScrollingModel().disableAnimation();
|
||||
if (verticalScrollProportion != -1) {
|
||||
EditorUtil.setVerticalScrollProportion(editor, verticalScrollProportion);
|
||||
}
|
||||
editor.getScrollingModel().scrollToCaret(ScrollType.RELATIVE);
|
||||
editor.getScrollingModel().enableAnimation();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user