mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-34593 Feature lost from 5.0 to 6.0 -> same java class in both view panels via vertical split + CTRL N
This commit is contained in:
+8
-1
@@ -552,7 +552,14 @@ public class FileEditorManagerImpl extends FileEditorManagerEx implements Projec
|
||||
throw new IllegalArgumentException("file is not valid: " + file);
|
||||
}
|
||||
assertDispatchThread();
|
||||
return openFileImpl2(getSplitters().getOrCreateCurrentWindow(file), file, focusEditor);
|
||||
EditorsSplitters splitters = getSplitters();
|
||||
|
||||
EditorWindow wndToOpenIn = splitters.getCurrentWindow();
|
||||
if (wndToOpenIn == null) {
|
||||
wndToOpenIn = splitters.getOrCreateCurrentWindow(file);
|
||||
}
|
||||
|
||||
return openFileImpl2(wndToOpenIn, file, focusEditor);
|
||||
}
|
||||
|
||||
@NotNull public Pair<FileEditor[], FileEditorProvider[]> openFileImpl2(@NotNull final EditorWindow window,
|
||||
|
||||
Reference in New Issue
Block a user