> Clip: Libundo is a simple, easy-to-use lib which
> manages recording and playback of undo/redo info
> for app developers.
Alain: Infinite undo/redo would be a wonderful feature
for OpenKard. It could also make OpenKard recordable.
Uli: I think we can do undo the way SuperCard does it,
that is, it's part of our editor (a stack). We'd keep
track of the last change in a global, and maybe we'd
make it an array of sorts so we can track multiple
undo steps.
Alain: Whatever way you programmers feel is best is
fine by me. Wouldn't it be better to avoid global
variables for this recording of user-actions? I think
that one or more new functions or properties would be
better.
get the last userAction
get the prev userAction
get the next userAction
get the first userAction
Uli: Undo is really not that complicated.
Alain: It depends on the action taken, doesn't it?
>From a user's perspective, the "undo" menuItem is
sometimes disabled (e.g. cannot undo certain actions).
For the irreversible actions to be made reversible,
the system will have to keep intermediate versions
(one for each irreversible action). Please tell me
that I am wrong.
Uli: And since memmap isn't available on Macs, we
can't use libundo anyway.
Alain: Is there some fundamental reason why the Mac
does NOT do memmap? Why isn't it available on the Mac?
Is the Mac the ideal platform for the development of OpenKard?
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com