Merge remote-tracking branch 'origin/master'
@@ -36,7 +36,6 @@ public interface FileEditorProvider {
|
||||
Key<FileEditorProvider> KEY = Key.create("com.intellij.fileEditorProvider");
|
||||
|
||||
/**
|
||||
* If provider is not dumb-aware, and it is the only
|
||||
* @param file file to be tested for acceptance. This
|
||||
* parameter is never <code>null</code>.
|
||||
*
|
||||
|
||||
@@ -463,8 +463,11 @@ public abstract class EditorComposite implements Disposable {
|
||||
myComponent.setComponent(myTabbedPaneWrapper.getComponent());
|
||||
}
|
||||
else {
|
||||
myTabbedPaneWrapper.addTab(editor.getName(), editor.getComponent());
|
||||
JComponent component = createEditorComponent(editor);
|
||||
myTabbedPaneWrapper.addTab(editor.getName(), component);
|
||||
}
|
||||
myFocusWatcher.deinstall(myFocusWatcher.getTopComponent());
|
||||
myFocusWatcher.install(myComponent);
|
||||
myEditors = editors;
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 120 B |
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 178 B |
|
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 178 B |
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 120 B |
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 121 B |
|
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 193 B |
|
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 122 B |