提交 30f5a203 编写于 作者: B Benjamin Pasero

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

上级 42f70e6b
......@@ -77,7 +77,7 @@ export class SplitEditorAction extends Action {
// Only split if we have a target position to split to
if (typeof targetPosition === 'number') {
return this.editorService.openEditor(activeEditor.input, null, targetPosition);
return this.editorService.openEditor(activeEditor.input, EditorOptions.create({ pinned: true }), targetPosition);
}
return TPromise.as(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册