The validity of your code depends on the "nested comments" FPC option.
IIRC both CodeTools and the editor highlighting are clever enough to respect that option.
Hm. I installed Lazarus 1.8RC2, clean.
Nice to hear that the validity of code
depends on the "nested comments" FPC option.
But I didn't change any settings.
Well, I thought, blue lines are - always - just comments, not valid code ?
I never saw Lazarus accepting and compiling blue code lines ...