On Tue, 22 Apr 2008 07:48:15 -0700 (PDT) TL <[EMAIL PROTECTED]> wrote:
> The Sax-Graph branch does not automatically fix the problem with Cleo > attributes associated with sub-nodes of @thin nodes being lost when > Leo is closed and reopened. Was it supposed to? Cleo currently stores attributes on vnodes, vnode uAs aren't written in @thin nodes. > Will the low-level node changes provide > that support? If so, what needs to be done to Cleo? We really need Edward to chime in here, because I haven't been paying enough attention to the details of the Sax-Graph stuff, but my impression is that nothing fundamental has changed yet, the sax read is just doing what the old read code did, and there are still v and t nodes. The position interface is different perhaps, in terms of p.stack, p.parents? Did the runtime option to unify nodes through self.v = self, self.t = self happen? If so, would enabling that fix the problem? Anyway, cleo could switch to using tnodes to store its attributes, and I guess this could be made configurable. Using vnodes I like the idea that you can have cleo markup on a node in one place (vnode, context) and not have the markup on the same node (clone) in another place (vnode, context). But I'm fine with sacrificing that as a step towards unified node world. Cleo could read attributes from both v and t nodes and write to tnodes, as a transition strategy. Cheers -Terry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
