Geany wrongly colors sequences starting with a percentage sign (%). Program that illustrates some issues: ``` n = 1337; w = r = 5 x = n%w + 1; # "%w " is recognised as the beginning of an array of words, like %w[ ... ] y = n%r ; # "%r " is recognised as the beginning of a regular expression string = %= this is a string = ; # this one is correctly colored n %= w; # this is the most important issue, the expression is equivalent to n = n % w; but it's recognised like the previous line print x%r # %r is also recognised like a beginning of regex, but in this case, the %= of the previous line is still not terminated (no equal sign encoutered). ```
Tested on Geany 1.33 on Linux (Debian).