introduce visible notebook editors

This commit is contained in:
rebornix
2020-05-18 15:45:32 -07:00
parent 9a384768c3
commit a14736ca5e
13 changed files with 356 additions and 65 deletions

View File

@@ -1553,12 +1553,18 @@ export interface INotebookModelAddedData {
metadata?: NotebookDocumentMetadata;
}
export interface INotebookEditorAddData {
id: string;
documentUri: UriComponents;
selections: number[];
}
export interface INotebookDocumentsAndEditorsDelta {
removedDocuments?: UriComponents[];
addedDocuments?: INotebookModelAddedData[];
// removedEditors?: string[];
// addedEditors?: ITextEditorAddData[];
newActiveEditor?: UriComponents | null;
removedEditors?: string[];
addedEditors?: INotebookEditorAddData[];
newActiveEditor?: string | null;
}
export interface ExtHostNotebookShape {