# SetCellContentsUndoEntry Class

# Constructors

# constructor

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

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

Parameters:

Name Type
cellContents object[]

Returns: SetCellContentsUndoEntry

# Properties

# cellContents Readonly

cellContents: object[]

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

# Methods

# doRedo

doRedo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

doUndo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# getReferencedOldDataVersions

getReferencedOldDataVersions(): number[]

Defined in src/UndoRedo.ts:43 (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[]