This commit is contained in:
Sandeep Somavarapu 2016-08-15 15:25:38 +02:00
parent b20bf210ac
commit 57fb7c95d5

View file

@ -90,7 +90,7 @@ function moveActiveEditor(args: ActiveEditorMoveArguments = {}, accessor: Servic
function moveActiveTab(args: ActiveEditorMoveArguments, activeEditor: IEditor, accessor: ServicesAccessor) {
const editorGroupsService: IEditorGroupService = accessor.get(IEditorGroupService);
const editorGroup = editorGroupsService.getStacksModel().getGroup(activeEditor.position);
const editorGroup = editorGroupsService.getStacksModel().groupAt(activeEditor.position);
let index = editorGroup.indexOf(activeEditor.input);
switch (args.to) {
case ActiveEditorMovePositioning.FIRST: