The highlighting for Java is using the C lexer as there is no Java lexer available.

C only knows about strings between pairs of "" on the same line so line 2 is valid C containing three empty strings and the ()s are outside strings. On line 4 there is an empty string and an invalid string opened by " and ending at the end of the line. On line 5 again there is an empty string and an invalid string opened by " and ending at the end of the line and including the ); as part of the string and so the ) on line 5 is part of a string and so not seen as a matching close parentheses for the ( on line 4.

Unless "somebody" contributes to the highlighter to the Lexilla project there may be places that Java and C have diverged, and triple """ is one that is not valid C.


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/issues/3995/2408842659@github.com>