The 'mark-first-parents' command was unmarking nodes it shouldn't have
because 'mark' is a toggle command. This fixes that.
"""mark the first parent of each node, moving up the tree
to the top level. print the list of marked parents."""
parent_lst = 
p = c.p
old_p = p
for parent in p.parents():
if not parent.isMarked():
g.es("marked: " + str(parent_lst))
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 email@example.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.