On Nov 23, 8:03 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> > I would also like a way to determine what file was
> > responsible for enabling the plugin.
>
> That info doesn't exist yet. I'll put it on the things to do soon.
Rev 1263 of the trunk add leoPlugins.loadedModulesFilesDict.
This is a Python dict whose keys are plugin names (module names) and
whose values are the names of the files responsible for the plugins
being loaded. Here is a tested example::
import leo.core.leoPlugins as leoPlugins
d = leoPlugins.loadedModulesFilesDict
for z in g.app.loadedPlugins:
print z, d.get(z)
I'll add a print-plugins-info command today.
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
-~----------~----~----~----~------~----~------~--~---