first cut of IFileWorkingCopy adoption, misses saveAs and backsnapshot are improper...

This commit is contained in:
Johannes Rieken
2021-03-18 15:26:18 +01:00
parent 8af8a869dc
commit 232266aaf2
12 changed files with 329 additions and 84 deletions

View File

@@ -1870,8 +1870,8 @@ export interface ExtHostNotebookShape {
$saveNotebookAs(viewType: string, uri: UriComponents, target: UriComponents, token: CancellationToken): Promise<boolean>;
$backupNotebook(viewType: string, uri: UriComponents, cancellation: CancellationToken): Promise<string>;
$dataToNotebook(handle: number, data: Uint8Array): Promise<NotebookDataDto>;
$notebookToData(handle: number, data: NotebookDataDto): Promise<Uint8Array>;
$dataToNotebook(handle: number, data: VSBuffer): Promise<NotebookDataDto>;
$notebookToData(handle: number, data: NotebookDataDto): Promise<VSBuffer>;
$acceptModelChanged(uriComponents: UriComponents, event: NotebookCellsChangedEventDto, isDirty: boolean): void;
$acceptDirtyStateChanged(uriComponents: UriComponents, isDirty: boolean): void;