Underline and a highlight indicate where your text cursor is, going upwards to the nearest declaration.
If that is not the case, I’ll need a screenshot of full window and a script that reproduces the behaviour.