ChangeNamedExpressionUndoEntry
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new ChangeNamedExpressionUndoEntry(namedExpression: InternalNamedExpression, newContent: RawCellContent, oldContent: ClipboardCell, scope?: undefined | number, options?: NamedExpressionOptions): ChangeNamedExpressionUndoEntry
Defined in src/UndoRedo.ts:422
Parameters:
| Name | Type |
|---|---|
namedExpression | InternalNamedExpression |
newContent | RawCellContent |
oldContent | ClipboardCell |
scope? | undefined | number |
options? | NamedExpressionOptions |
Returns: ChangeNamedExpressionUndoEntry
Properties
Section titled “Properties”namedExpression
Section titled “namedExpression”• namedExpression: InternalNamedExpression
Defined in src/UndoRedo.ts:424
newContent
Section titled “newContent”• newContent: RawCellContent
Defined in src/UndoRedo.ts:425
oldContent
Section titled “oldContent”• oldContent: ClipboardCell
Defined in src/UndoRedo.ts:426
options
Section titled “options”• options? : NamedExpressionOptions
Defined in src/UndoRedo.ts:428
• scope? : undefined | number
Defined in src/UndoRedo.ts:427
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in src/UndoRedo.ts:437
Parameters:
| Name | Type |
|---|---|
undoRedo | UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in src/UndoRedo.ts:433
Parameters:
| Name | Type |
|---|---|
undoRedo | UndoRedo |
Returns: void
getReferencedOldDataVersions
Section titled “getReferencedOldDataVersions”▸ getReferencedOldDataVersions(): number[]
Defined in src/UndoRedo.ts:42
Returns LazilyTransformingAstService version keys referenced by this entry’s oldData. Default implementation returns empty — override in entries that store oldData.
Returns: number[]