I've just rewritten this FAQ entry <http://leoeditor.com/FAQ.html#how-can-scripts-call-functions-from-leo-s-core>. The new answer gets to the heart of the matter by listing all of Leo's *subcommanders*. These implement *everything* in Leo's core that isn't part of the Commands class itself. For example, c.k is an instance of the LeoKeys class in leo/core/leoKeys.py.
Forgetting to mention these subcommanders was a big hole in Leo's documentation. Now cheatsheet.leo and cheatsheet.html <http://leoeditor.com/cheatsheet.html#scripting> discuss subcommanders. Feel free to ask questions. It's important that all script authors understand how to access code in subcommanders. Edward -- 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. For more options, visit https://groups.google.com/d/optout.
