Not sure who suggested these and produced a sample script. My notes for this item got lost.
The clean-at-clean-files command cleans all @clean nodes (for .py files only) in the entire outline. The clean-at-clean-tree does the same, but for only one @clean node. You can invoke the clean-at-clean-tree from any descendant of the @clean node. The new commands add zero, one or two blanks lines to the start of each node in @clean trees for .py files. Root nodes not affected. Zero for section definition nodes, two for nodes that start with 'class' and one otherwise. Most of the code consists in making these commands undoable. Please report any problems immediately. 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 https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
