Problem:
When an editor attempts to fix a tainted reference warning but then cancels the edit we want to continue showing them the warning icon. This is for example useful if they cancel the edit to re-read the warning.
BDD
GIVEN a statement with a tainted reference warning
WHEN I click edit
AND I cancel the edit
THEN the warning is still there
Acceptance criteria:
- the warning icon is shown again after canceling edit mode on a tainted reference statement
Note:
- the warning should not be shown in edit mode