提交 ac05a75f 编写于 作者: B Benjamin Pasero

Split action should always pin the editor it creates (fixes #6804)

上级 957f8021
......@@ -66,6 +66,7 @@ export class SplitEditorAction extends Action {
else if (activeEditor.position === Position.LEFT) {
let options = new TextEditorOptions();
options.preserveFocus = true;
options.pinned = true;
return this.editorService.openEditor(activeEditor.input, options, Position.RIGHT).then(() => {
this.editorService.moveGroup(Position.RIGHT, Position.CENTER);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册