# UndoEntry Interface

# Methods

# doRedo

▸ doRedo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

▸ doUndo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# getReferencedOldDataVersions

▸ getReferencedOldDataVersions(): number[]

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

Returns the LazilyTransformingAstService version keys referenced by this entry's oldData storage. Used to clean up oldData when the entry is permanently evicted from the undo/redo stack.

Returns: number[]