this.editorService.openEditor({options:{pinned:true,index:this.group.count/* always at the end */}}asIUntitledResourceInput).done(null,errors.onUnexpectedError);// untitled are always pinned
this.nextEditorService.openEditor({options:{pinned:true,index:this.group.count/* always at the end */}}asIUntitledResourceInput);// untitled are always pinned
}
}));
...
...
@@ -211,10 +210,7 @@ export class NextTabsTitleControl extends NextTitleControl {
setTimeout(()=>this.editorService.openEditor(editor,null,position).done(null,errors.onUnexpectedError));// timeout to keep focus in editor after mouse up
setTimeout(()=>this.groupController.openEditor(this.group.getEditor(index)));// timeout to keep focus in editor after mouse up
}
returnvoid0;
...
...
@@ -624,9 +619,7 @@ export class NextTabsTitleControl extends NextTitleControl {
@@ -840,14 +818,14 @@ export class NextTabsTitleControl extends NextTitleControl {
// External DND
else{
constdropHandler=this.instantiationService.createInstance(ResourcesDropHandler,{allowWorkspaceOpen:false/* open workspace file as file if dropped */});