mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
grid - let IEditor.group be INextEditorGroup
This commit is contained in:
@@ -99,7 +99,7 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
||||
for (let workbenchEditor of this._workbenchEditorService.getVisibleEditors()) {
|
||||
const id = this._documentsAndEditors.findTextEditorIdFor(workbenchEditor);
|
||||
if (id) {
|
||||
result[id] = workbenchEditor.group; // TODO@grid [EXTENSIONS] adopt in extension host
|
||||
result[id] = workbenchEditor.group.id; // TODO@grid [EXTENSIONS] adopt in extension host
|
||||
}
|
||||
}
|
||||
return result;
|
||||
@@ -147,7 +147,7 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
||||
let editors = this._workbenchEditorService.getVisibleEditors();
|
||||
for (let editor of editors) {
|
||||
if (mainThreadEditor.matches(editor)) {
|
||||
return this._workbenchEditorService.closeEditor(editor.group, editor.input).then(() => { return; });
|
||||
return editor.group.closeEditor(editor.input).then(() => { return; });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user