On Thu, 5 Jun 2008 13:21:06 -0500 "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> others = [i.copy() for i in p.siblings_iter() > > if i.headString().startswith(bn+'.')] > > > This is wrong: positions become invalid after changing the outline. Sort of what I thought, but how do you get around that? Work with vnodes? Will a node above all the changes stay put, so you can repeatedly iterate its children until they're all in the right place? I'll try re-arranging the algorithm so things are changed from the end of lists first, but that's a bit arcane. 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 leo-editor@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---