[QScintilla] Highlight behavior

Phil Thompson phil at riverbankcomputing.com
Thu Jul 15 17:23:12 BST 2010


On Wed, 14 Jul 2010 17:50:17 -0300, Samuel Nascimento Pagliarini
<snpagliarini at gmail.com> wrote:
> All keywords are white. And yes, I tried this:
> 
> lex->setColor(QColor("darkRed"), QsciLexerVerilog::Keyword);
> 
> and that:
> 
> lex->setDefaultColor(QColor("red"));
> 
> Is it really necessary do sub-class the lexer?

It's a bug - fixed in tonight's snapshot. A patch is attached.

Thanks,
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QScintilla.patch
Type: text/x-diff
Size: 363 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20100715/68f0150c/attachment.patch>


More information about the QScintilla mailing list