
On Thu, 2 Feb 2006 21:09:12 -0400 bulia byak <buliabyak@...400...> wrote:
On 2/2/06, mental@...3... <mental@...3...> wrote:
Thanks for the nice feedback!
- 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.
Would it be a good solution to declare an extra set of verbs (describing events on a more fine-grained level than event-context), and then pass one of those to sp_document_done()?
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.
I agree with bulia that it would be nice to have this before it's applied and I also fancy the idea of it showing up in the undo/redo items in the menu.
If there are any easy (fail-proof, so to say ;) changes I can do myself, I'd be glad to help out.
-- Gustav Broberg