On Jul 9, 4:07 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:

> BTW, the failing unit test is '@shadow-test insert after last line',
> an important boundary condition.

The fix is on the shadow branch.  I reinstated the following code at
the start of the opcode loop, which I mistakenly concluded last night
was a do-nothing.:

# Do not copy sentinels if a) we are inserting and b) limit is at the
end of the old_private_lines.
# In this special case, we must do the insert before the sentinels.
limit=mapping[old_i]
if tag == 'insert' and limit >= old_private_lines_rdr.size():
    pass
else:

self.copy_sentinels(old_private_lines_rdr,new_private_lines_wtr,marker,limit=limit)

Now all the single-node tests pass.

I also improved tracing so it's more to my liking.

On to multi-node tests!

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to