Highlight the whole line if the error is at the end of the line