On Fri, Dec 2, 2011 at 4:12 PM, Brian Theado <[email protected]> wrote: > After further investigation, I discovered if I replace > p.moveToFirstChildOf(n) with p.moveToNthChildOf(n,0), then it works. > Apparently moveToFirstChildOf is not just a convenience wrapper of > moveToNthChildOf as I would have thought just looking at the names. > It looks like the NthChildOf function contains a call to > parent._adjustPositionBeforeUnlink(p), whereas the FirstChildOf > function does not.
Thanks for this. Your code will probably form the basis of a failing unit test. 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.
