[Padre-dev] Syntax highlighting
Ahmad Zawawi
ahmad.zawawi at gmail.com
Tue Feb 9 04:19:17 PST 2010
> > How do I get this to turn on? I keep selecting PPI in my preferences but
> > then when I open a file it always shows in the bottom corner Scintilla? I
> > am using the latest Padre 0.56
>
> You're right, I didn't notice this. Looks like a bug.
> However the colors themselves did change so I think the highlighter
> selection itself did change, only the status line was not updated.
>
If you change Perl syntax highlighters from Scintilla to PPI
highlighters, the status bar will change when you actually start
editing the file (i.e. it is bug). I tested this on Win XP. syntax
highlighters have also a size limit after which the default scintilla
highlighter will always be used for speed considerations. Please take
a look at Padre::Document::Perl, the hardcoded limit is 4000
characters (which is very low).
Regards,
Ahmad
More information about the Padre-dev
mailing list