On Sunday, November 20, 2016 at 11:54:09 AM UTC-6, Edward K. Ream wrote:

> As of rev eda7689, Leo sports a useful new generator [p.nearest_roots].

Recent revs correct a problem with p.nearest_roots (the default predicate 
didn't work) and add two new generators, c.all_roots and 
c.all_unique_roots.  Both take a predicate, which defaults to:

    def predicate(p):
        return p.isAnyAtFileNode()

Hehe, this is *not* the same as:

    predicate = self.isAnyAtFileNode

Anyway, all the new predicates should be useful in various contexts.  
scripts.leo now contains an updated @button script that updates *all* 
@<file> x.md trees.  You could call it a super-light-weight version of the 
rst3 command for markdown.

EKR


-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to