On Mon, Aug 23, 2010 at 5:54 PM, zpcspm <[email protected]> wrote: > sphinx era, when I was still using leo with the tk GUI. But I see > "outline changes" and "saving positions into a list" as very different > things, that's why I didn't even bother to try the copy trick in the > first place, but whined here :) Do you see any mistakes or missing > pieces in my logic?
Iteration through tree ofter reuses the same position object (mutating where it points to). You need to copy() a position if you want it to stay valid through multiple loop iterations. -- Ville M. Vainio @@ Forum Nokia -- 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.
