[josm-dev] Extending Undo
Sebastian Klein
bastikln at googlemail.com
Mon Jun 28 19:49:16 BST 2010
Upliner wrote:
> By the way, what do you think about making merge layers
> operation undonable? I think I can implement it, there is some
> groundwork for in reverter and fuzzer(ext_tools) plugins.
Cool. I see 2 paths here: First would be to have an undo stack for each
data layer. Normally there is no reason you have to first undo all later
operations on layer b before you can undo things on layer a. (Although I
never had that problem.)
Second, make higher level layer operations undoable. (Only thing that
should be excluded is toggle of active layer and visibility.) Undo of
merge layer would probably the most useful extension here.
The first would be similar to a text editor where you can undo for each
document and second would be like photoshop or gimp, where layers
interact more closely.
Maybe both is compatible? E.g. a checkbox in command stack to show only
the operations on the current data layer.
Sebastian
More information about the josm-dev
mailing list