[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: [Karbon14] Out of order undos, tools
From:       Dirk_Schönberger <dirk.schoenberger () sz-online ! de>
Date:       2002-09-25 9:46:22
[Download RAW message or body]

> > What I could think of is a "reverse" mode of a Tool. In this the "do"
and
> > "undo" functionalities are reversed. You can add such a "reverse" action
to
> > your normal command history.
> > I think this way you could have out-of-order undos without having to
change
> > the
> > command list, don't you?

> How does renaming execute()/unexecute() to do()/undo() solve the problem
> mentioned before?

Sorry, I didn't know the exact name of the methods.
What I meant was that in "reverse" mode the "unexecute" method is called,
while undoing the "reverse" action calls the "execute" method.

Basically I think that there should be no out-of-order undo, but a new
action/tool/whatever, which simply execute the reerse action.
This doesn't apply for normal undos.

Regards
Dirk


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic