At the time this question was asked, version 10 was not out yet. The Front End of Mathematica 10 does have multiple undo, see the answer by John Fultz.
The Mathematica Front End's built-in Undo command can only undo a single editing step.
Has anyone implemented or seen implemented an efficient and comfortable multiple undo?
I have in mind ideas such as, CellEventActions
that keeps a stack in the cell context pushing the cell state every time a key among a list (brackets, @, operators) is pressed. Some other shortcut to recover older states (or a palette, or perhaps tweaking the front end's .tr files??)
I am not familiar at all with typical text based implementations and their issues. I guess it wouldn't be a practical problem to lose the undo state between sessions, would it?
So, has this been done, or is it doable or practical? What are your thoughts?
Answer
I implemented a multiple undo mechanism in v10.
It's not as perfect as I would like it to be, yet, but it does a pretty decent job in my experience. And a few of the documented options for it got ahead of the implementation...think of some of that stuff as a "coming soon".
Feel free to ping me on any problems you find with it.
Edit: In 10.0.2, all of the documented options are implemented except for "SpoolDirectory"
.
Comments
Post a Comment