On Wed, 15 Mar 2017 18:00:57 -0500 "Edward K. Ream" <[email protected]> wrote:
> On Wed, Mar 15, 2017 at 4:19 PM, Terry Brown <[email protected]> > wrote: > > > Note that that will break styles where the style_class property is > > more than one identifier. E.g. "minibuffer error" as opposed to > > "minibuffer". Some of these things won't be easy to see in a quick > > spot check. Some of these things change dynamically at run time. > > Border highlighting might be an example. > > ​Terry, what do you suggest we do? I can move the tilde-less > stylesheet to a branch, or leave things as they are. If taking the tildes out hasn't broken border highlighting (I don't usually use it anyway) then I guess leave it for now. Might have been easier taking them out at runtime, in terms of being a one liner we could revert if the issue gets fixed. I posted this to the PyQt list: Hi - I think there's a problem with ~= in stylesheets in PyQt 5.8. The attached program illustrates the issue (also here, same code: https://gist.github.com/tbnorth/76191db825cc49dcca296ffb8d777047) It seems 5.8 stops parsing the stylesheet as soon as it sees ~=, whereas < 5.8 acts as expected (described in docstring of code). Any thoughts much appreciated, Thanks, Terry but I guess it could be a Qt issue rather than a PyQt issue. Cheers -Terry -- 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.
