Today I fixed two serious @shadow bugs.

These were likely the two most serious bugs remaining in Leo.

1. Rev 3737 fixed (or ameliorated) bug 56720: IndexError on startup
after external changes to @shadow files.

**Important**: This bug is misnamed: The most serious part of the bug
(a crasher in the main loop) was fixed much earlier.

Today's work merely makes the code more forgiving.  Although a bit of
a hack, the new code should make @shadow *much* easier to use in
practice.

The consistency check ignores all whitespace at the end of files, and
even ignores trailing whitespace on each line. This should be good
enough for all except the most finicky.  I suspect that nobody would
notice had I not pointed this out :-)

If this isn't good enough then you should use @auto or @thin.

2. Rev 3539 fixes a much more serious @shadow bug reported by Nick_H,
July 23, 2010.
http://groups.google.com/group/leo-editor/browse_thread/thread/dbe098206376ec8d

The fundamental @shadow algorithm did not handle the 'replace' difflib
tag properly (!!)  Now it does, or at least it does as covered by two
new unit tests.

Still to do:  Fix bug: 657374 Content of shadow file affects the
outline structure.

This appears to be a caching issue unrelated to the fundamental
@shadow loop.  I expect to fix it tomorrow.  This is the last bug that
must be fixed before Leo 4.8 a1.
(There are other "high priority" bugs on the list, but but in fact all
of them have medium priority or even lower.)

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