# SetCellContentsUndoEntry Class

# Constructors

# constructor

+ new SetCellContentsUndoEntry(cellContents: object[]): SetCellContentsUndoEntry

Defined in src/UndoRedo.ts:346 (opens new window)

Parameters:

Name Type
cellContents object[]

Returns: SetCellContentsUndoEntry

# Properties

# cellContents Readonly

cellContents: object[]

Defined in src/UndoRedo.ts:348 (opens new window)

# Methods

# doRedo

doRedo(undoRedo: UndoRedo): void

Defined in src/UndoRedo.ts:361 (opens new window)

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

doUndo(undoRedo: UndoRedo): void

Defined in src/UndoRedo.ts:357 (opens new window)

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# getReferencedOldDataVersions

getReferencedOldDataVersions(): number[]

Defined in src/UndoRedo.ts:42 (opens new window)

Returns LazilyTransformingAstService version keys referenced by this entry's oldData. Default implementation returns empty — override in entries that store oldData.

Returns: number[]