When some code is highlighted, e.g. in red or yellow indicating some sort of error, and the error in question is fixed, reloading the file should reevaluate what text is highlighted. In version 5.7 this works as expected, in later versions it does not.