As of rev cc773c2 the new @shadow code could (and maybe even should) be the 
default.

However, in the interest of more thorough testing, the old @shadow code 
remains in effect.  To enable the new code, set new_shadow = True at the 
start of leoShadow.py.  Please back up your files before doing so, and 
consider making copies of your .leo_shadow folders.

>From the checkin log for cc773c2:

QQQ
All tests pass regardless of new_shadow, but @shadow-test-lax tests are run 
*strictly* when new_shadow is True.

Furthermore, several @shadow-test case now require that changed lines 
between nodes be place in the previous node, something that never seemed 
possible before.

To make this possible, x.put_sentinels(0) is called before the main loop, 
ensuring leading sentinels are written first.  With this in place, 
op_insert can call x.put_sentinels(ai) *after* inserting the nodes.
QQQ

In other words, the unit tests now make allowances for the *old* code, but 
require the new code to act as I have wanted for so long.  Inserting lines 
at the end of the previous node makes @shadow much more friendly.

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/d/optout.

Reply via email to