> However, let me say a few words about scripting in *this* context.
>
> What makes Leo scripting so important is that the predefined c, g and
> p variables give *full* and *easy* access to all the data in your
> outlines, as well as hundreds, if not thousands, of useful Python
> functions in Leo's core.
>
I see that as the big picture, but getting my head around the details
is not there yet.
> The hello world example is::
>
> for p in c.all_positions():
> indent = '.' * p.level()
> print('%s%s' % (indent,p.h))
>
What's supposed to happen with that script? I copied it into an empty
node and ran it. No result.
As for the search scripts, I'm anxious to see some actually written
and see if I can extrapolate how they would work for me. Sorry to be
so dense.
Rob..............
--
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.