If "virtual spaces" option (Edit->Preferences->Editor->Display)is set to "always", the caret may be positioned behind the end-of-line. If the line ends with a brace, it is highlighted if the caret is at the brace, *or* far behind the brace, e. g.:
if ( ... ) { |
If the caret is moving right, the brace flickers: highlighting disappears for a moment, then appears again.