Awesome! That is just what I needed. Thank you. On Thursday, August 16, 2012 9:48:38 AM UTC-4, Terry wrote: > > > > Yes, there's extract (Ctrl-Shift D) > > extract (Ctrl+Shift+D) > ++++++++++++++++++++++ > > Create child node from the selected body text. 1. If the selection > starts with a section reference, the section name become the child's > headline. All following lines become the child's body text. The section > reference line remains in the original body text. 2. If the selection > looks like a Python class or definition line, the class/function/method > name becmes child's headline and all selected lines become the child's > body text. 3. Otherwise, the first line becomes the child's headline, > and all selected lines become the child's body text. >
On Thursday, August 16, 2012 9:48:38 AM UTC-4, Terry wrote: > > On Wed, 15 Aug 2012 05:43:53 -0700 (PDT) > Daniel Rairigh <[email protected] <javascript:>> wrote: > > > As I work to migrate my existing code and notes into Leo, it seems to me > > that it would be really handy to be able to select a block of body text > and > > "push" it into a child node. Is there a quick/efficient way to do this? > > Currently I select the block, cut it, Cltr+Insert, Enter, Paste, Ctrl+H, > > Type the title > > Yes, there's extract (Ctrl-Shift D) > > extract (Ctrl+Shift+D) > ++++++++++++++++++++++ > > Create child node from the selected body text. 1. If the selection > starts with a section reference, the section name become the child's > headline. All following lines become the child's body text. The section > reference line remains in the original body text. 2. If the selection > looks like a Python class or definition line, the class/function/method > name becmes child's headline and all selected lines become the child's > body text. 3. Otherwise, the first line becomes the child's headline, > and all selected lines become the child's body text. > On Thursday, August 16, 2012 9:48:38 AM UTC-4, Terry wrote: > > On Wed, 15 Aug 2012 05:43:53 -0700 (PDT) > Daniel Rairigh <[email protected] <javascript:>> wrote: > > > As I work to migrate my existing code and notes into Leo, it seems to me > > that it would be really handy to be able to select a block of body text > and > > "push" it into a child node. Is there a quick/efficient way to do this? > > Currently I select the block, cut it, Cltr+Insert, Enter, Paste, Ctrl+H, > > Type the title > > Yes, there's extract (Ctrl-Shift D) > > extract (Ctrl+Shift+D) > ++++++++++++++++++++++ > > Create child node from the selected body text. 1. If the selection > starts with a section reference, the section name become the child's > headline. All following lines become the child's body text. The section > reference line remains in the original body text. 2. If the selection > looks like a Python class or definition line, the class/function/method > name becmes child's headline and all selected lines become the child's > body text. 3. Otherwise, the first line becomes the child's headline, > and all selected lines become the child's body text. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/gzD6eaKlk9AJ. 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.
