[QScintilla] problem with pascal lexer implementation in QsciScintillaBase

Detlev Offenbach detlev at die-offenbachs.de
Fri Jun 27 19:10:42 BST 2008


On Donnerstag, 26. Juni 2008, Phil Thompson wrote:
> On Thu, 26 Jun 2008 22:32:17 +0200, juju coucou <coucou_dj at hotmail.com>
>
> wrote:
> > Hello,
> >  I work on a GNU project to program a developping environement for pascal
> > language (using Qt) for french people. I have a problem with
>
> implementation
>
> > of pascal lexer with QsciScintillaBase class. I am using this code :
> > this->SendScintilla((unsigned
> > int)QsciScintillaBase::SCI_SETLEXER,(unsigned
> > long)QsciScintillaBase::SCLEX_PASCAL,(long)0);
> > But when I try scintilla widget there is no coloration, everything is
> > black and I don't understand why.
> > Could you help me please.
>
> You need to define the different colours and fonts to be used by each of
> the styles defined by the lexer. This is normally done though a QsciLexer
> subclass, but I haven't implemented one for the Pascal lexer yet. I'll add
> it to the TODO list for the next version.
>

Hi Phil,

maybe you add a QsciLexer for Fortran as well. That was requested for eric4.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the QScintilla mailing list