Undo/redo should affect earmarks
@yurivkhan
Submitted by Yuri Khan Link to original bug (#766142)
Description
To reproduce:
- Set some earmarks in a cell.
- Click that cell and set it to a definite digit.
- Press Ctrl+Z.
Expected behavior: the cell returns to indefinite state with earmarks from step 1.
Observed behavior: the cell returns to indefinite state with earmarks lost.
Why this is a bug: accidentally missing Ctrl while pressing a digit key lead to loss of earmarks.
To reproduce:
- Set some cell to a definite digit.
- Set an earmark in another cell.
- Press Ctrl+Z.
Expected behavior: the last earmark from step 2 is removed; cell from step 1 not affected.
Observed behavior: the cell from step 1 returns to indefinite state; earmarks not affected.
Why this is a bug: earmarks are part of the solution process and should be tracked the same way as definite cells.
Version: 3.18.x