On Wed, 13 Apr 2011 11:44:11 -0400, John Swensen <[email protected]>
wrote:
> I am looking at using the QScintilla package for the editor component of
> an IDE for GNU Octave.  I see there is a lexer for Matlab, but am
wondering
> if something hasn't been completed yet.  For almost every language, I
see
> both a Lex<NAMEOFLANGUAGE>.cpp file in the lexer directory and a
> corresponding qscilexer<NAMEOFLANGUAGE>.cpp file in the Qt4 directory. 
> However, there is no qscimatlab.cpp file. Do I need to create a
> qscimatlab.cpp file, following the pattern of some of the other
languages,
> to have Matlab syntax support or is there some other way to get the
Matlab
> lexer working?  I see that the Matlab lexer is linked in by looking at
> src/Catalogue.cpp and that when building inside Qt4 there is a
LexMatlab.o
> file after the build completes, but I can't figure out how to use the
> lexer.

High-level support for lexers is added when requested - nobody has asked
for Matlab before.

You can still use the low-level support (the high-level support mainly
just manages the lexer configuration).

Phil
_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to