[BLUEJ-489] Retain compiler error after clicking in source pane
The current behaviour seems to be, that the compile error that appears below the class source code pane vanishes when the source code pane is clicked in or the cursor moves.
For a concrete example, if we create a class with the text: 'class {}', an error message will appear below, saying " expected", and a thin red marker will appear after 'class'. On clicking in the code window, the error message disappears but the red marker remains. On changing the code, the marker disappears too.
It would be helpful if the error message were to remain at least until the source code is edited.
After editing the source, the error may no longer be valid, which might possibly cause annoyance or confusion. (My personal opinion is that it would still be worthwhile.) But there is no risk of this while the code remains unmodified, and keeping the message up would prevent the user having to recompile in order to get the error message back.
Issue metadata
- Issue type: Task
- Priority: Low
- Fix versions: 3.1.4