For me Processing (4.4.1) is not saying where the error is. It’s doing it for any sketch but see Examples, Topics, Curves, ArcLengthParametrization. Comment out line 21 //final int POINT_COUNT = 80; and run the sketch.
It says “POINT_COUNT cannot be resolved to a variable” but doesn’t move the edit window to the problem line 41.
I think it used to highlight the problem line.
I wondered if it was a setting I’d chosen but I checked on another account (not a user of Processing) on this PC and it’s the same there.