PR #5043 is now in Leo's main branch

26 views
Skip to first unread message

Edward K. Ream

unread,
Nov 9, 2026, 10:37:33 AMNov 9
to leo-editor
PR #5043 collapses the complexity of Leo's undo-typing code. I never dreamed it could be this simple. See the PR for details.

This will likely be the last significant code change before releasing Leo 6.8.11. 

Please keep testing the main branch and report any issues.

Edward

Thomas Passin

unread,
Nov 9, 2026, 11:56:10 AMNov 9
to leo-editor
The branch/version info still isn't getting written to the log pane for LeoPyRef and all following outlines.

Edward K. Ream

unread,
Nov 9, 2026, 4:34:32 PMNov 9
to leo-editor
On Monday, November 9, 2026 at 10:56:10 AM UTC-6 tbp1...@gmail.com wrote:
The branch/version info still isn't getting written to the log pane for LeoPyRef and all following outlines.

Leo writes the signon message only for the first loaded file. I don't think that is new behavior.

Everything is working as I expect.

Edward

Edward K. Ream

unread,
Nov 9, 2026, 4:42:22 PMNov 9
to leo-editor
On Monday, November 9, 2026 at 9:37:33 AM UTC-6 Edward K. Ream wrote:

> PR #5043 collapses the complexity of Leo's undo-typing code...
>  This will likely be the last significant code change before releasing Leo 6.8.11. 

The PR states that switching to "word" granularity would be a low priority.

But when I awoke from a long nap, I saw that adding "word" granularity would require only one new method: tb.must_change_word.

Unless I am greatly mistaken, the rest of Leo's undo code would remain completely unchanged.

So I've changed my mind. I'm going to work on a new PR, #5044, while details of Leo's undo code are fresh in my mind.

Edward
Reply all
Reply to author
Forward
0 new messages