mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
private outputs slice and unknown change.
This commit is contained in:
@@ -225,7 +225,7 @@ export class ExtHostNotebookEditor extends Disposable implements vscode.Notebook
|
||||
|
||||
if (prev.editType === CellEditType.Replace && editData.cellEdits[i].editType === CellEditType.Replace) {
|
||||
const edit = editData.cellEdits[i];
|
||||
if (edit.editType !== CellEditType.DocumentMetadata && prev.index === edit.index) {
|
||||
if ((edit.editType !== CellEditType.DocumentMetadata && edit.editType !== CellEditType.Unknown) && prev.index === edit.index) {
|
||||
prev.cells.push(...(editData.cellEdits[i] as ICellReplaceEdit).cells);
|
||||
prev.count += (editData.cellEdits[i] as ICellReplaceEdit).count;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user