On Sun, Dec 4, 2011 at 11:13 AM, Edward K. Ream <[email protected]> wrote: > On Fri, Dec 2, 2011 at 5: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. > > Fixed on the trunk at rev 4866: all unit tests pass, including one > based on the code above.
I lightly tested and it looks good to me. Thanks for the fix. Brian -- 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.
