This commit is contained in:
yutotnh
2022-06-28 05:42:02 +09:00
committed by GitHub
parent 1981cb1f29
commit 64b74d9a64
23 changed files with 28 additions and 28 deletions

View File

@@ -195,7 +195,7 @@ class ExtHostEditorTabGroup {
this._activeTabId = operation.tabDto.id;
} else if (this._activeTabId === operation.tabDto.id && !operation.tabDto.isActive) {
// Events aren't guaranteed to be in order so if we receive a dto that matches the active tab id
// but isn't active we mark the active tab id as empty. This prevent onDidActiveTabChange frorm
// but isn't active we mark the active tab id as empty. This prevent onDidActiveTabChange from
// firing incorrectly
this._activeTabId = '';
}
@@ -256,12 +256,12 @@ export class ExtHostEditorTabs implements IExtHostEditorTabs {
return this._closeTabs(tabsOrTabGroups as vscode.Tab[], preserveFocus);
}
},
// move: async (tab: vscode.Tab, viewColumn: ViewColumn, index: number, preservceFocus?: boolean) => {
// move: async (tab: vscode.Tab, viewColumn: ViewColumn, index: number, preserveFocus?: boolean) => {
// const extHostTab = this._findExtHostTabFromApi(tab);
// if (!extHostTab) {
// throw new Error('Invalid tab');
// }
// this._proxy.$moveTab(extHostTab.tabId, index, typeConverters.ViewColumn.from(viewColumn), preservceFocus);
// this._proxy.$moveTab(extHostTab.tabId, index, typeConverters.ViewColumn.from(viewColumn), preserveFocus);
// return;
// }
};