Workbench editor renames (#91943)

* IEditor => IEditorPane

* More panes:
* IVisibleEditor => IVisibleEditorPane
* ITextEditor => ITextEditorPane
* ITextDiffEditor => ITextDiffEditorPane

* imports - remove type alias

* More pane renames
* IEditorService#activeControl => activeEditorPane
* IEditorService#visibleControls => visibleEditorPanes

* More editor renames
* activeTextEditorWidget => activeTextEditorControl
* visibleTextEditorWidgets => visibleTextEditorControls
This commit is contained in:
Benjamin Pasero
2020-03-03 10:47:50 +01:00
committed by GitHub
parent 6829e20b19
commit 418d1974ca
81 changed files with 750 additions and 802 deletions

View File

@@ -382,7 +382,7 @@ export class MainThreadWebviews extends Disposable implements extHostProtocol.Ma
return;
}
const activeInput = this._editorService.activeControl && this._editorService.activeControl.input;
const activeInput = this._editorService.activeEditorPane?.input;
const viewStates: extHostProtocol.WebviewPanelViewStateData = {};
const updateViewStatesForInput = (group: IEditorGroup, topLevelInput: IEditorInput, editorInput: IEditorInput) => {