Sometimes a for loop can disrupt the syntax highlighting after it. I've narrowed it down to when there is an equals sign in the third clause and there's at least one statement inside the braces, though there may be other cases.
void setup() {
for (int x = 1; x < 10; x += 2) {
println(x);
}
println("done");
}
The second println call should be highlighted normally but it's not.
Sometimes a for loop can disrupt the syntax highlighting after it. I've narrowed it down to when there is an equals sign in the third clause and there's at least one statement inside the braces, though there may be other cases.
The second
println
call should be highlighted normally but it's not.