912
this._contentChanged(quiet);
913
} else if (progress.kind === 'textEdit' || progress.kind === 'notebookEdit') {
914
>
// merge edits for the same file no matter when they come in
chatModel.ts
915
>
const notebookUri = CellUri.parse(progress.uri)?.notebook;
916
>
const uri = notebookUri ?? progress.uri;
917
>
const isExternalEdit = progress.isExternalEdit;
918
>
919
>
if (progress.kind === 'textEdit' && !notebookUri) {
920
// Text edits to a regular (non-notebook) file
921
this._mergeOrPushTextEditGroup(uri, progress.edits, progress.done, isExternalEdit);
922
>
} else if (progress.kind === 'textEdit') {
chatModel.ts
923
// Text edits to a notebook cell - convert to ICellTextEditOperation
924
const cellEdits = progress.edits.map(edit => ({ uri: progress.uri, edit }));