Fix for 151376
parent
416eb0eb67
commit
2b71d11040
|
@ -807,6 +807,8 @@ export class WorkspaceEdit implements vscode.WorkspaceEdit {
|
|||
if (NotebookEdit.isNotebookCellEdit(edit)) {
|
||||
if (edit.newCellMetadata) {
|
||||
this.replaceNotebookCellMetadata(uri, edit.range.start, edit.newCellMetadata);
|
||||
} else if (edit.newNotebookMetadata) {
|
||||
this.replaceNotebookMetadata(uri, edit.newNotebookMetadata);
|
||||
} else {
|
||||
this.replaceNotebookCells(uri, edit.range, edit.newCells);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue