On Monday, February 12, 2018 at 11:42:32 PM UTC-6, Matt Wilkie wrote:
> Leo's diff-marked-nodes command only compares two outlines at a time.
> Ahh, thank you for that. There's so much about Leo I've yet to discover!
Also on the list for today is generalizing diff-marked-nodes so that it
compares arbitrarily many nodes, two at a time. Here is the code to do this
self.root = self.create_root(aList)
while len(aList) > 1:
self.path1 = aList
aList = aList[1:]
for path2 in aList:
self.path2 = path2
Adapting this for diff-marked nodes will be straightforward.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.