src/vs/workbench/api/common/extHostNotebookEditor.ts/NotebookEditorCellEditBuilder/replaceCells
class NotebookEditorCellEditBuilder:	replaceCells(from: number, to: number, cells: vscode.NotebookCellData[]): void {
		this._throwIfFinalized();
		if (from === to && cells.length === 0) {
			return;
		}
		this._collectedEdits.push({
			editType: CellEditType.Replace,
			index: from,
			count: to - from,
			cells: cells.map(extHostConverter.NotebookCellData.from)
		});
	}