Re: [Geany-Devel] Colour scheme woes

2020-03-22 Thread Lex Trotman
On vim and rust, if the example below (from the Rust manual) does not colour "Color" and "Point" as functions in the "let" lines then it must also be parsing declarations, not using syntax. ``` #![allow(unused_variables)] fn main() { struct Color(i32, i32, i32); struct Point(i32, i32, i32); let b

Re: [Geany-Devel] Colour scheme woes

2020-03-22 Thread Lex Trotman
On Mon, 23 Mar 2020 at 10:23, Austin Green wrote: > > On Sun, 22 Mar 2020 14:03:29 +1000 > Lex Trotman wrote: > > > These are syntax highlighters, they only distinguish syntax, not > > semantics or symbols. > > > > It would therefore only be possible if functions are _syntactically_ > > distingui

Re: [Geany-Devel] Colour scheme woes

2020-03-22 Thread Austin Green
On Sun, 22 Mar 2020 14:03:29 +1000 Lex Trotman 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 > lang