[plt-scheme] hooking add-to-undo-stack
At Mon, 27 Apr 2009 19:00:41 +0530, Martin DeMello wrote:
> Am I right in
> that a callback for when an item is added to the undo stack is the
> right starting point?
Do you mean adding something like a `on-undo-addition' method on
`editor<%>' that you can override? That sounds reasonable.
I was thinking more along the lines of having an editor notify its
administrator when a new undo is added, and so on. I guess that amounts
to building a global-undo protocol into the editor, snip, and
administrator classes.