Geany can't really override any styles since the lexer will just put them back each time it runs, and Scintilla, not Geany, controls when that happens and what range of the file is re-lexed.

A style can't be "ignored" but it can be mapped to the default style, and we could do that for SCE_VISUALPROLOG_STRING_VERBATIM if it is only used in that situation.

But then in the example in your image that would mean the second sort(0, would not be styled as in the first occurrence.

Which is the least of the two evils?

That said, I don't think this warrants an upstream patch, since the lexer is just working as advertised.

Well clearly someone uses Visual Prolog or they would not have contributed the lexer. Somebody could contribute a patch to Lexilla (controlled by a property) that changed @ behaviour and any other differences.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3171/c1110392039@github.com>