grid - let IEditor.group be INextEditorGroup

This commit is contained in:
Benjamin Pasero
2018-05-18 08:55:57 +02:00
parent 002972c438
commit d2baa66bd9
31 changed files with 158 additions and 159 deletions

View File

@@ -430,7 +430,7 @@ export class MainThreadDocumentsAndEditors {
private _findEditorPosition(editor: MainThreadTextEditor): EditorPosition {
for (let workbenchEditor of this._workbenchEditorService.getVisibleEditors()) {
if (editor.matches(workbenchEditor)) {
return workbenchEditor.group;
return workbenchEditor.group.id;
}
}
return undefined;