On Thu, Sep 22, 2016 at 5:22 PM, lewis <[email protected]> wrote:

Leo successfully reports the that viewrendered2 doesn't get on well with
> PyQt5, and proceeds to load viewrendered plugin. All the unpleasant errors
> are gone.
> This is very neat!
>

​This is more of a bug than a feature ;-)  It's hard/impossible to disable
a plugin if it's in leoSettings.leo or myLeoSettings.leo.

In fact, vr and vr2 can both be enabled.  They will handle the same events,
and the first one that is called will suppress the second.

And it's hard not to enable plugins in leoSettings.leo​: otherwise people
wouldn't get any default plugins.

I've been thinking about this lately.  It's time for an enhancement
request.  We would like a way of disabling plugins on a per-file basis,
maybe by disbling event handling for a plugin (with the possible exception
of shutdown/window-close events.) Enabling vr2 in a local file would be a
good test.  We want vr enabled in most files, but vr2 in that local file.

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.

Reply via email to