On Jan 13, 7:30 am, "Edward K. Ream" <[email protected]> wrote:
> Let me fix this on the trunk. I should be able to do so today.
The present code fails, but not for the reasons we have discussed.
Indeed, v.parents will contain the hidden root node, but the
childIndex of the hidden node is zero, so the line:
v,n = stack.pop()
delivers the wrong childIndex for top-level nodes.
I now have a unit tests that properly fails, but a rewrite of this
method is needed.
Edward
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---