CReverter (Composite Reverter aka Undo/Redo)'s icon

CReverter (Composite Reverter aka Undo/Redo) 1.0.0 Scripts 4.0 Community

Submitted by user svetogam; MIT; 2024-06-20

The Composite Reverter is a memento-based undo/redo utility.

A unique feature is its support of composition, allowing subsystems to handle their own saving and loading independently of each other while still operating in unison. This enhances decoupling and encapsulation in your code.

Features:
* Clean interface that runs like git with only basic functionality.
* Easy to get up and running using plain dictionaries for mementos.
* Extensible to optimize time and memory efficiency.
* Equality can be defined between mementos to ignore insignificant changes.
* Tags allow jumping through history like loading save-states.
* Undo, redo, and revert methods.
* Thoroughly documented.
* Example included.


View files Download Submit an issue Recent Edits