On 2/2/06, mental@...3... <mental@...3...> wrote:
- To get the type of an event I rely entirely on the current event context. This obviously not (always) a correct assumption. An example of this problem: setting an object's color while the node tool is the current context.
Probably we'll need to add an extra argument to sp_document_done() to help you out with this.
Exactly, and I remember mentioning this a couple times in the past. Mental, you look like the most natural person since you wrote the undo system. Can you do this or help some volunteer to do this? If someone puts in the infrastructure I will go and fill in the annotations for all document_done calls. Then we'll also be able to display them in the Undo/Redo commands in the menu.
To the list: I'll not have time to review the patch today ... someone else want to do the honors? I'd like to see this get into the tree in some form.
I appreciate the patch and like the idea, but I think it should be postponed until the undo annotations are in place, and reimplemented to use them.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org