Hello Lex,
thank you so much for your immediate answer. — Uhh, I scanned through the HACKING file. It appears that the knowledge required to do this kind of extension is beyond my abilities due to the fact that I am not a programmer … Anyway thanks a lot for this straight forward answer.
Cheers
Willi
On 28 Feb 2023, at 01:10, Lex Trotman via Users users@lists.geany.org wrote:
On Tue, 28 Feb 2023 at 07:02, Willi Egger via Users users@lists.geany.org wrote:
Good evening,
The developer of the ConTeXt environment (Hans Hagen at pragma-ade.com) uses Scite as his main editor. He built a whole set of lexers for this, which enables Scite to make highlighting for all the different languages used inside ConTeXt e.g. TeX as ConTeXT, Lua, Metapost. So because Geany’s lexing is also based on Scintilla I asked myself whether it would be possible to learn Geany to use those lexers.
To answer this and your previous in one, to add parsers (assuming its in ctags) and lexers (assuming its in Lexilla) you need to make a Geany built-in filetype which is documented in HACKING (and see also github for recent language additions, eg Julia).
Cheers Lex
Kind regards
Willi _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org