[Geany] Battle for Wesnoth - scintilla lexer properties

Nick Treleaven nick.treleaven at xxxxx
Mon Nov 22 12:46:17 UTC 2010


On Sun, 21 Nov 2010 12:51:05 +0100
Frank Lanitz <frank at frank.uvena.de> wrote:

> On Fri, 19 Nov 2010 13:09:35 +0000
> Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> 
> > On Fri, 19 Nov 2010 08:04:46 -0500
> > Jonathan Daily <biomathjdaily at gmail.com> wrote:
> > 
> > > Worked like a charm, thanks. Is there documentation for what can be put into
> > > [lexer_properties], or is that a filetype specific parameter?
> > 
> > It's determined by the Scintilla lexer for the filetype, and apart from
> > the source code I don't think there's any comprehensive list of
> > properties anywhere.
> 
> Maybe it would be a nice project for somebody to add a list of this
> hacks to documentation. 

You can grep them:
egrep -o  'GetProperty\w*\("([^"]+)"[^)]+\)' scintilla/Lex*.cxx

I've now updated the manual with this info.

Nick



More information about the Users mailing list