> for example the parser accepts ; comments, and I didn't look again but I 
> guess the lexer has similar extension that breaks your expectations of the 
> highlighting being a validator or similar.

Scintilla accepts `;` as well, after all its the original comment in MS `.ini` 
files, not `#` these Unix come lately guys use ;-P

But leading spaces are orthogonal to `;` / `#`, IIRC there are parsers that do 
what the parser here does, look at the first character of the line only, be it 
`#` or `;` (or `[`).

As I said I don't care a _lot_ so if an import of the parser from ctags changed 
its behaviour and the default Scintilla was made the same thats fine.

Anyway lets stop sidetracking @techee's excellent PR.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3428#issuecomment-1465848552
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3428/[email protected]>

Reply via email to