mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
re #105735. batch apply edits.
This commit is contained in:
@@ -699,13 +699,17 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
}, viewType, { ...notebookDocumentMetadataDefaults, ...modelData.metadata }, uri, storageRoot);
|
||||
|
||||
document.acceptModelChanged({
|
||||
kind: NotebookCellsChangeType.Initialize,
|
||||
versionId: modelData.versionId,
|
||||
changes: [[
|
||||
0,
|
||||
0,
|
||||
modelData.cells
|
||||
]]
|
||||
rawEvents: [
|
||||
{
|
||||
kind: NotebookCellsChangeType.Initialize,
|
||||
changes: [[
|
||||
0,
|
||||
0,
|
||||
modelData.cells
|
||||
]]
|
||||
}
|
||||
]
|
||||
}, false);
|
||||
|
||||
// add cell document as vscode.TextDocument
|
||||
|
||||
Reference in New Issue
Block a user