File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -562,6 +562,10 @@ declare module 'vscode' {
562
562
}
563
563
564
564
export interface NotebookContentProvider {
565
+ readonly options ?: NotebookDocumentContentOptions ;
566
+ readonly onDidChangeNotebookContentOptions ?: Event < NotebookDocumentContentOptions > ;
567
+ readonly onDidChangeNotebook : Event < NotebookDocumentContentChangeEvent | NotebookDocumentEditEvent > ;
568
+
565
569
/**
566
570
* Content providers should always use [file system providers](#FileSystemProvider) to
567
571
* resolve the raw content for `uri` as the resouce is not necessarily a file on disk.
@@ -570,7 +574,6 @@ declare module 'vscode' {
570
574
resolveNotebook ( document : NotebookDocument , webview : NotebookCommunication ) : Promise < void > ;
571
575
saveNotebook ( document : NotebookDocument , cancellation : CancellationToken ) : Promise < void > ;
572
576
saveNotebookAs ( targetResource : Uri , document : NotebookDocument , cancellation : CancellationToken ) : Promise < void > ;
573
- readonly onDidChangeNotebook : Event < NotebookDocumentContentChangeEvent | NotebookDocumentEditEvent > ;
574
577
backupNotebook ( document : NotebookDocument , context : NotebookDocumentBackupContext , cancellation : CancellationToken ) : Promise < NotebookDocumentBackup > ;
575
578
}
576
579
You can’t perform that action at this time.
0 commit comments