On Saturday, July 15, 2023 at 7:22:47 AM UTC-5 Edward K. Ream wrote:

> - PR #3438 <https://github.com/leo-editor/leo-editor/pull/3438> contains 
the new undo code. See the first comment of the PR for details.

The PR implements an important *new principle*: executing a non-undoable 
command should clear Leo's undo state by calling *u.clearAndWarn*.

Many thanks to Félix for setting me right. Not following this principle was 
likely the source of subtle problems in Leo.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9fc2f1d5-e33b-443b-9b75-281144b95145n%40googlegroups.com.

Reply via email to