Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


The one I saw had you browsing the tree, rather than a linear history representation of a tree.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: