This should have been done *ages* ago.  The command makes it easy to
put python methods in separate nodes.

Select a range of text, the first line of which starts with 'def foo
(...)'

Do alt-x extract-python-method (or ctrl-p if you are repeating the
command).

What happens:

- Creates a new child node whose headline is 'foo'.

- The body of foo contains all the selected text, properly indented.

The command is undoable as always.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to