returnthis.handleDirty(arrays.flatten(groups.map(group=>group.getEditors(true/* in MRU order */).map(editor=>({group,editor})))),ignoreDirtyIfOpenedInOtherGroup).then(veto=>{
returnthis.handleDirty(arrays.flatten(groups.map(group=>group.getEditors(true/* in MRU order */).map(editor=>({group:group.id,editor})))),ignoreDirtyIfOpenedInOtherGroup).then(veto=>{
if(veto){
return;
}
...
...
@@ -384,7 +384,7 @@ export class EditorPart extends Part implements IEditorPart, IEditorGroupService
.sort((a1,a2)=>this.stacks.positionOfGroup(this.stacks.getGroup(a2.group))-this.stacks.positionOfGroup(this.stacks.getGroup(a1.group)))// reduce layout work by starting right/bottom first
this.editorTransfer.setData([newDraggedEditorIdentifier({editor,group:(<any>this.group/* TODO@grid should be GroupIdentifier or INextEditorGroup */).group})],DraggedEditorIdentifier.prototype);