On Wednesday, February 4, 2015 at 12:57:40 PM UTC-6, Edward K. Ream wrote:

> I see no big problems in implementation.  I'll be working on this in the 
next day or so...

The diff algorithm will be trickier than expected.  The simple scheme that 
I considered initially will not handle complications arising from @others 
and section references.

The obvious thing to do is to adapt the full @shadow algorithm to the new 
purpose.  Bernhard Mulder's algorithm is certainly up to the task.

The new diff will create what are in effect the private and (original) 
public @shadow files by writing the @nosent tree to two strings: one 
containing sentinels and one without.  Adapter code will then apply the 
full @shadow algorithm.  In addition, I'll probably extend the @shadow 
logic so that it reports any inserted, deleted or changed nodes.

This will be a significant project, but it should be worthwhile no matter 
how much work it takes.

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