[Geany-Devel] New Lexer

Lex Trotman elextr at xxxxx
Fri Jan 1 23:29:55 UTC 2016


On 2 January 2016 at 09:02,  <rhkramer at gmail.com> wrote:
> 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?

Yes.

>
>
>> [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.
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel


More information about the Devel mailing list