mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
don't mirror appending output items (#278458)
dont mirror appending output items
This commit is contained in:
@@ -389,16 +389,7 @@ export class ChatEditingModifiedNotebookEntry extends AbstractChatEditingModifie
|
||||
break;
|
||||
}
|
||||
case NotebookCellsChangeType.OutputItem: {
|
||||
const index = getCorrespondingOriginalCellIndex(event.index, this._cellsDiffInfo.get());
|
||||
if (typeof index === 'number') {
|
||||
const edit: ICellEditOperation = {
|
||||
editType: CellEditType.OutputItems,
|
||||
outputId: event.outputId,
|
||||
append: event.append,
|
||||
items: event.outputItems
|
||||
};
|
||||
this.originalModel.applyEdits([edit], true, undefined, () => undefined, undefined, false);
|
||||
}
|
||||
// outputs are shared between original and modified model, so the original model is already updated.
|
||||
break;
|
||||
}
|
||||
case NotebookCellsChangeType.Move: {
|
||||
|
||||
Reference in New Issue
Block a user