src/vs/workbench/contrib/notebook/common/model/notebookTextModel.ts/NotebookOperationManager/pushEditOperation
class NotebookOperationManager:	pushEditOperation(element: IUndoRedoElement, beginSelectionState: ISelectionState | undefined, resultSelectionState: ISelectionState | undefined) {
		if (this._pendingStackOperation) {
			this._pendingStackOperation.pushEditOperation(element, beginSelectionState, resultSelectionState);
			return;
		}

		this._undoService.pushElement(element);
	}