Changes between Initial Version and Version 2 of Ticket #2097
- Timestamp:
- Jun 24, 2019, 7:28:14 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2097
- Property Cc added
- Property Owner changed from to
-
Ticket #2097 – Description
initial v2 2 2 3 3 {{{ 4 # Aggregate undo action is registered after "with" 4 5 with session.undo.aggregate("cmd_title"): 5 6 run("command 1; command 2; command 3") 6 7 # Each command needs to be undone, in order 8 9 # Must manually register custom undo action 7 10 with session.undo.block("tile"): 8 11 run("move x 10 #1; move x 20 #2") 9 12 # A bunch of commands whose net result is captured by view 10 13 # and undo only uses the saved views 14 session.undo.register(myCustomUndoAction) 11 15 }}} 12 16