Thanks, but where would I find that (which xxx.py file)? I assume it's in 
the core folder somewhere?

Rob...

>
> I think this is a good place to start: c_ec.extract & helpers.
>
>
> insertAsLastChild() seems to be the operator but there doesn't appear to 
> be such a thing as insertAsFirstChild() or insertAsNextChild() so I am not 
> sure where to go from here.
>
> HTH,
>
> Chris
>
>
> On Thursday, June 13, 2019 at 7:30:03 AM UTC-7, Rob wrote:
>>
>> I use the Extract command frequently (Ctrl-Shift-D) to create nodes from 
>> body text; very useful command. However, I usually prefer the created node 
>> to be be the first child node, not the last, so I end up having to move the 
>> node to the first position. Is there a way to change the default behavior 
>> or to use a script that does essentially does the same thing as Extract, 
>> but places the node first?
>>
>> BTW, I looked in the leoCommands.py file for some clues, but only found a 
>> small menu reference; not sure where else to look.
>>
>> Rob...
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a4d9864b-0541-4b25-a37a-9c86bcc9d63b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to