mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
IEditorService.closeEditor(position, input)
This commit is contained in:
@@ -684,7 +684,7 @@ export class MainThreadEditors {
|
||||
let editors = this._workbenchEditorService.getVisibleEditors();
|
||||
for (let editor of editors) {
|
||||
if (mainThreadEditor.matches(editor)) {
|
||||
return this._workbenchEditorService.closeEditor(editor).then(() => { return; });
|
||||
return this._workbenchEditorService.closeEditor(editor.position, editor.input).then(() => { return; });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user