[QScintilla] Verilog/VHDL lex parser

Nishant Sharma nishant.031 at gmail.com
Wed Feb 8 17:54:45 GMT 2012


Hi Samuel,
I did not find the class :QsciLexerVerilog anywhere in my scintilla
installation.
I am using QScintilla-1.71-gpl-1.7.1.tar.gz
Am I missing something????

On Wed, Feb 8, 2012 at 1:29 PM, Samuel Nascimento Pagliarini <
snpagliarini at gmail.com> wrote:

> 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
> >
>



-- 
Best Regards,
Nishant Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20120208/ab1856b2/attachment.html>


More information about the QScintilla mailing list