undo!
Russell Nelson
nelson at crynwr.com
Thu Jan 20 21:16:35 CET 2005
Bernhard Reiter writes:
> Undo certainly is an item on the wish list.
> You are completely right in that users (which includes us) like it.
>
> So we only need to resolve the disagreement about you not providing
> a patch for undo capabilities. >;-)
It's probably not impossibly difficult, but I don't know enough about
Thuban innards to be able to do it now, or at any foreseeable date in
the future. Just to venture a guess, you could do it using a set of
wrapper classes around Thuban/Model/*.py, which would inherit the
original class, and a new UndoRedo class. The wrapper class would
record what had been done, and would know how to undo it. Then you'd
need an extra set of methods to 1) explain what had been done, and 2)
redo them. Just looking at the history file would be useful anyway,
because you could see how a session had been created. Not just its
current state, but what steps had been taken to get there.
--
--My blog is at angry-economist.russnelson.com | Freedom means allowing
Crynwr sells support for free software | PGPok | people to do things the
521 Pleasant Valley Rd. | +1 315-323-1241 cell | majority thinks are
Potsdam, NY 13676-3213 | +1 212-202-2318 VOIP | stupid, e.g. take drugs.
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)