mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
add model version to notebook edits when possible, https://github.com/microsoft/vscode/issues/105283
This commit is contained in:
@@ -893,10 +893,6 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
return this._activeNotebookEditor;
|
||||
}
|
||||
|
||||
get notebookDocuments() {
|
||||
return [...this._documents.values()];
|
||||
}
|
||||
|
||||
private _onDidOpenNotebookDocument = new Emitter<vscode.NotebookDocument>();
|
||||
onDidOpenNotebookDocument: Event<vscode.NotebookDocument> = this._onDidOpenNotebookDocument.event;
|
||||
private _onDidCloseNotebookDocument = new Emitter<vscode.NotebookDocument>();
|
||||
@@ -941,6 +937,14 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
});
|
||||
}
|
||||
|
||||
get notebookDocuments() {
|
||||
return [...this._documents.values()];
|
||||
}
|
||||
|
||||
lookupNotebookDocument(uri: URI): ExtHostNotebookDocument | undefined {
|
||||
return this._documents.get(uri);
|
||||
}
|
||||
|
||||
registerNotebookContentProvider(
|
||||
extension: IExtensionDescription,
|
||||
viewType: string,
|
||||
|
||||
Reference in New Issue
Block a user