On Fri, Sep 10, 2010 at 3:10 PM, Edward K. Ream <edream...@gmail.com> wrote:
> On Fri, Sep 10, 2010 at 7:04 AM, Ville M. Vainio <vivai...@gmail.com> wrote: > >> I don't see why a developer should know about "pluginsController" >> it's a Leo implementation detail. > > No. It has exactly the same status that leo.core.leoPlugins used to have. > > Instead of:: > > import leo.core.leoPlugins as leoPlugins > ... > leoPlugins.registerHandler(...) > > the new pattern for plugins is:: > > g.app.pluginsController.registerHandler(...) > > This may be a bit "ugly", but it's prettier then before ;-) Why not move registerHandler to g? -- Ville M. Vainio @@ Forum Nokia -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-edi...@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.