Re:Resolving the Great Undo-Redo Quandary
by Chris2048 on Friday November 11, 2022 @09:34AM
(#33561257)
Sounds like this solution would best be implemented with an undo-tree, but also a linear history mapping with pointers to that tree - the linear history would just log movement within the tree over time e.g. undo-redo would just be a backwards-forwards movement.
[ Parent
| on HN ]
Re:Resolving the Great Undo-Redo Quandary
by rcthompson on Friday November 11, 2022 @09:36AM
(#33561292)
That's exactly what you get with undo-tree. The regular undo/redo commands continue working as normal, but you can also manually browse the tree if things get too nonlinear for you.