morganthomas / Shpadoinklekasten-lib

Other
0 stars 1 forks source link

Universal undo/redo function #12

Open morganthomas opened 4 years ago

morganthomas commented 4 years ago

Technically undo works by adding the inverse of the last change as a new change, and redo works by adding the inverse of the last non-undone undo as a new change.