Skip to content

Handle earmarks properly in undo/redo

shak-mar requested to merge shak-mar/gnome-sudoku:master into master

See commit messages for the entire description. To get an idea, here's a quote from the most important commit:

Before this commit, undo/redo didn't know anything about earmarks. This can lead to annoyances in real-world usage of the application: Imagine you set some earmarks on a cell and then think some of those numbers should be the real value. So you set the value to be what you want, but shortly afterwards notice that it was nonsense actually. So you undo, but now the earmarks you set before are lost! This is not what undo should be like.

Merge request reports