On Tue, Oct 18, 2011 at 12:39 PM, Edward K. Ream <[email protected]> wrote:
> On Mon, Oct 17, 2011 at 7:35 AM, Kent Tenney <[email protected]> wrote:
>
>> I'm forever doing this for dir(c) dir(p) dir(g) ...
>> g.es(len(dir(c)))
>> reports 538
>
> This is precisely the problem that Leo's autocompleter was designed to
> solve, and *does* solve.
>
> - Enable autocompletion:  Alt-1
>
> - Type c.!
>
> You will see the 538 possibilities, or however many they are.  Perhaps
> this is a little daunting at first, but after a little while you will
> begin to use the following::
>
>   c.in<tab> or
>   p.in<tab>
>
> when you want to insert a node, or::
>
>   c.del<tab> or
>   p.del<tab>
>
> when you want to delete a node, or::
>
>   c.move<tab> or
>   p.move<tab>
>
> when you want to move a node.
>
> In all the above examples, the list of possibilities is short.  I
> *always* enable calltips, so Leo will remind you of the valid
> arguments after you type '('.

I have turned on calltips and autocompletion, enter the following:
c.app.config.getData(

autocompletion guides me to that point, but I'm not getting help with arguments.

Thanks,
Kent

>
> The learning curve is easy, provided you actually *do* use the
> autocompleter that several of us have worked so long to get right.
>
> Another thread discusses how to learn Leo's API, so I won't discuss
> here the differences between commander methods c.insertHeadline() vs.
> position methods:  p.insertAfter().
>
> 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.
>
>

-- 
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