[Geany-Devel] Colour scheme woes
Austin Green
austin.green at xxxxx
Mon Mar 23 00:23:12 UTC 2020
On Sun, 22 Mar 2020 14:03:29 +1000
Lex Trotman <elextr at gmail.com> wrote:
> These are syntax highlighters, they only distinguish syntax, not
> semantics or symbols.
>
> It would therefore only be possible if functions are _syntactically_
> distinguishable from any other names, but that's not the case in most
> languages (including C and C++).
I take your point, but I guess it depends to some extent on the overall design of the syntax analyser. The editor 'vim', for example, manages to colour functions for Rust, though not for C/C++, while 'SlickEdit' (whose colour scheme I was wanting to copy) manages to do it for functions in C/C++ as well.
Don't think I can find the energy to try to hack Scintilla's lexers right now, and it's not essential, just a 'nice to have' feature.
Cheers,
Austin.
More information about the Devel
mailing list