E&S CVS Commit: Trellis - Simplify undo by not logging undo's while
undoing. This makes
pje at eby-sarna.com
pje at eby-sarna.com
Mon Nov 26 14:18:46 EST 2007
Author: pje
Date: Mon Nov 26 14:18:45 2007
New Revision: 2435
URL: http://svn.eby-sarna.com?rev=2435&view=rev
Log:
Simplify undo by not logging undo's while undoing. This makes
it possible to write code that doesn't care if it's a "do" or
"undo", which should make data structures similar. i.e., the
reverse of an 'add' can then be a 'remove' and vice versa,
without needing to have separate 'undo_add' and 'undo_remove'
operations that don't log undo information.
Modified:
Trellis/peak/events/collections.py
Trellis/peak/events/stm.py
Trellis/test_trellis.py
More information about the source-changes
mailing list