
On 3/23/07, julien robert <julienrob@...400...> wrote:
I began its implementation, but as i'm not sure to do it in the right way, i would like to discuss with someone having a better vision of the source code than mine.
I see you are mostly working with undo code there. This approach is certainly more general that "repeat the last verb" because undo records all actions, while verbs exist for only a subset of all actions. However, here lies a problem: undo log only records the (possibly labelled and keyed) changes in the XML tree and nothing else. It does not remember which object the action was applied to, and thus it cannot reapply the same action to a different object. And without this, this functionality will be of very limited use. How are you planning to attack this?
Also, from a cursory look at your patch, it's quite big and seems to have stuff that does not belong, such as differences in clone transforms. This is likely because the SVN head has diverged during the time you were working on the patch. You need to merge all the latest changes into your working copy before diffing, otherwise your patch may inadvertently revert some of the changes in SVN.