On Wed, 14 Jul 2010 17:50:17 -0300, Samuel Nascimento Pagliarini
<[email protected]> 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
diff -r 4c98368d9bea qt/qscilexerverilog.cpp
--- a/qt/qscilexerverilog.cpp Mon Jul 12 11:44:46 2010 +0100
+++ b/qt/qscilexerverilog.cpp Thu Jul 15 17:10:34 2010 +0100
@@ -218,6 +218,9 @@
case Number:
return tr("Number");
+ case Keyword:
+ return tr("Primary keywords and identifiers");
+
case String:
return tr("String");
_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla