[Geany-Devel] New Lexer

rhkramer at gmail.com rhkramer at xxxxx
Fri Jan 1 23:02:09 UTC 2016


On Friday, January 01, 2016 02:15:56 PM Colomban Wendling wrote:
> Yes, only the used lexers are imported from Scintilla.  To add a new
> one, just copy if from Scintilla's one, list it in src/Catalogue.cxx [1]
> and in the build system and start using it.  It's mostly well documented
> in the "Syntax Highlighting" section (under "Adding a filetype") of
> HACKING in Geany's source tree.
> 
> Feel free to ask about any further details if you're unsure about
> something.

I'm not the OP, but I am unsure about something--I guess after doing this, 
geany (with scintilla) would have to be recompiled?

 
> [1] well, actually the best way would be to edit the
> scintilla/scintilla_changes.patch patch and run the update script, but
> that's not yet documented and can be tricky if you're not familiar with
> unified diff format.


More information about the Devel mailing list