# AddColumnsUndoEntry Class

# Constructors

# constructor

+ new AddColumnsUndoEntry(command: AddColumnsCommand): AddColumnsUndoEntry

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

Parameters:

Name Type
command AddColumnsCommand

Returns: AddColumnsUndoEntry

# Properties

# command Readonly

• command: AddColumnsCommand

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

# Methods

# doRedo

▸ doRedo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

▸ doUndo(undoRedo: UndoRedo): void

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