On Mon, Sep 5, 2011 at 11:07 AM, Terry Brown <terry_n_br...@yahoo.com> wrote:
> But autocompletion in Leo would sure be nice. It is becoming clear that absolutely everything is possible. Indeed, the bulk of blender is python code: the C code merely provides "services". I am busy studying the python code in the blender/scripts and blender/python folders. The blender/scripts/modules folder is probably what we want. The only question is, how best to hook into blender? I don't know a clean way yet, but even ugly ways will work. Example: the "signon" message in the blender Python console is put there by Python code. We could monkey-patch that code to do anything we want. Presumably, the "autocomplete" button in blender executes Python code. So Leo can execute that code! Indeed, we can execute Leo *from blender*, say at startup time. That will make all the blender data available to Leo. Some simple bridges will make the autocompletion code available to Leo, as well as everything else! Do you see? We can make Leo be a part of blender! Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.