Add a delete undo action to the stack.
The token block to be created.
Add an overlapping undo action to the stack.
An array of token blocks that overlap with the new block.
The start index of the new block that overlaps with existing blocks.
Add an update undo action to the stack.
The token block to be updated.
Undo the last action in the stack.
The TokenManager instance to apply the undo action to.
Undo all actions in the stack.
The TokenManager instance to apply the undo actions to.
UndoManager class for managing undo actions in the application.
Description
This class provides functionality to manage undo actions, allowing users to revert changes made to the token manager.