mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Add intial work to patch tab open and close
This commit is contained in:
@@ -620,6 +620,11 @@ export const enum TabInputKind {
|
||||
TerminalEditorInput
|
||||
}
|
||||
|
||||
export const enum TabModelOperationKind {
|
||||
TAB_OPEN,
|
||||
TAB_CLOSE
|
||||
}
|
||||
|
||||
export interface UnknownInputDto {
|
||||
kind: TabInputKind.UnknownInput;
|
||||
}
|
||||
@@ -680,6 +685,12 @@ export interface IEditorTabGroupDto {
|
||||
groupId: number;
|
||||
}
|
||||
|
||||
export interface TabOperation {
|
||||
readonly kind: TabModelOperationKind.TAB_OPEN | TabModelOperationKind.TAB_CLOSE;
|
||||
readonly index: number;
|
||||
readonly tab: IEditorTabDto;
|
||||
}
|
||||
|
||||
export interface IEditorTabDto {
|
||||
id: string;
|
||||
label: string;
|
||||
|
||||
Reference in New Issue
Block a user