On Sun, Aug 30, 2009 at 1:58 AM, Edward K. Ream<[email protected]> wrote:

>> > The new code will likely be easy to implement.  Just compare the old
>> > and new version of cloned headline and body text in
>> > v.createOutlineFromCacheList.
>>
>> You have to check the whole subtrees, not just individual nodes.
>
> I don't understand this comment.  Can you explain?

If you have

foo.txt:

A -- B -- C

mycode.py:

D --B -- E

Where B node is cloned. foo.txt has C as a child of B, while mycode.py
has E as a child of B. Just looking at head/bodystrings does not tell
that the structure has changed (since B is identical).

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to