Expand description
Contains the MementoTextObject struct that contains the text to be managed. Also contain the Memento struct that represents the snapshot of the text object for later restoration.
Structs
- Represents a single memento (snapshot) of the text state before an operation is applied. The operation becomes the name of the memento for display purposes.
- Container for a string. Need to use a struct that allows the text to be changed while the container (this struct) remains constant. This way, operations can be applied to the text and the container’s contents change but not the container.