[QScintilla] QsciLexerCSS bug for styling CSS comments.

alberto trebbi trebbi.a at tiscali.it
Thu Jul 4 12:24:19 BST 2019


Could you remove my email from this mailing list
Thanks

⁣Inviato da Blue ​

Il giorno 4 lug 2019, 13:21, alle ore 13:21, "Nicholas H.Tollervey" <ntoll at ntoll.org> ha scritto:
>FYI, wider context for how this bug was found.
>
>https://github.com/mu-editor/mu/pull/864
>
>Thanks,
>
>N.
>
>On 04/07/2019 12:16, Nicholas H.Tollervey wrote:
>> Hi Folks (and especially Phil),
>> 
>> It appears that all comments are ignored for styling by the
>QsciLexerCSS
>> class. See attached screenshot for an example of this in the Mu
>editor.
>> 
>> I've tried to discover the correct style number for the matching of
>CSS
>> comments (I assumed it'd be "comment" i.e. 9) but this doesn't have
>any
>> effect on the rendered text. As far as I can tell, unmatched text
>> fragments should use the default style, but this is blatantly not the
>> case -- i.e. the comment block is matched as NOT default and NOT
>> comment, so what exactly is it matched as (and how do I style it?)..?
>> 
>> To reproduce, set a QsciLexerCSS instance as the lexer of a
>> QsciScintilla instance, then try to change the styling for comments.
>> 
>> Thanks in advance for your help with this,
>> 
>> N.
>> 
>> 
>> _______________________________________________
>> QScintilla mailing list
>> QScintilla at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
>> 
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>QScintilla mailing list
>QScintilla at riverbankcomputing.com
>https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20190704/c95c2a3a/attachment-0001.html>


More information about the QScintilla mailing list