On Thu, 2011-01-20 at 15:10 +0100, Michael Natterer wrote:
> I discussed this with Martin, and the outcome was to have a command
> layer around the core, and not make it a 1:1 match of undo operations,
> because undos are very atomic operation, whereas commands rather
> correspond to undo groups of arbitrary complexity.
In Author/Editor we had command groups, so that one command might have a
whole sequence of sub-commands but make a single entry in the undo/redo
history. The handler chain got to see the outer command as well as the
sequence of inner commands, of course.
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Gimp-developer mailing list