[QScintilla] Verilog/VHDL lex parser
Samuel Nascimento Pagliarini
snpagliarini at gmail.com
Wed Feb 8 13:29:17 GMT 2012
I have made a few things on my own for an old project. Feel free to
use if you want:
vloglex = new QsciLexerVerilog(editor);
vloglex->setFoldAtElse(true);
vloglex->setFoldComments(true);
vloglex->setColor(QColor("black"), QsciLexerVerilog::Default);
vloglex->setColor(QColor("blue"), QsciLexerVerilog::Comment);
vloglex->setColor(QColor("blue"), QsciLexerVerilog::CommentBang);
vloglex->setColor(QColor("blue"), QsciLexerVerilog::CommentLine);
vloglex->setColor(QColor("magenta"), QsciLexerVerilog::Number);
vloglex->setColor(QColor("darkRed"), QsciLexerVerilog::Keyword);
vloglex->setColor(QColor("magenta"), QsciLexerVerilog::String);
vloglex->setColor(QColor("darkRed"), QsciLexerVerilog::KeywordSet2);
vloglex->setColor(QColor(160, 32, 240, 255),
QsciLexerVerilog::SystemTask);
vloglex->setColor(QColor("darkRed"), QsciLexerVerilog::Preprocessor);
vloglex->setColor(QColor("lightblue"), QsciLexerVerilog::Operator);
vloglex->setColor(QColor("black"), QsciLexerVerilog::Identifier);
vloglex->setColor(QColor("black"), QsciLexerVerilog::UserKeywordSet);
2012/2/8 Nishant Sharma <nishant.031 at gmail.com>:
> Hello All,
>
> I am using : QScintilla-1.71-gpl-1.7.1
> I was wondering that the way we have parsers for color coding different
> languages like Javascript: qextscintillalexerjavascript.cpp , I could not
> locate any such file for verilog or vhdl, although, lexVerilog.cpp exists.
> Any help in this regard would he highly appreciated.
>
> --
> Best Regards,
> Nishant Sharma
>
> _______________________________________________
> QScintilla mailing list
> QScintilla at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
>
More information about the QScintilla
mailing list