On Wednesday, January 15, 2014 11:53:46 AM UTC-6, Edward K. Ream wrote: Theorem: Any position can be moved provided *only* that both p's parent > vnode and p's childIndex are correct... > > Proof: All the "real" work in moving a position happens in the low-level > vnode methods v._cutLink and v._addLink. >
v._cutLink and v._addLink do *thorough* consistency checks. And a good thing too, because that's the principle way that bugs in the new_auto code are reported! I suspect that most failures involve no-longer-valid child indices. v is no longer the n'th node of its parent vnode. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
