fix messages if linter finishes while the cursor is on an error line