New undo methods for multiple headline changes on branch 'boltex/issue3219'

21 views
Skip to first unread message

Félix

unread,
Mar 28, 2023, 10:46:42 PM3/28/23
to leo-editor
If you'd like to test out some new proposed methods to undo/redo commands that alter many headlines at once: https://github.com/leo-editor/leo-editor/tree/boltex/issue3219

Thanks for reviewing my code if you feel like it. Also, you can easily test it with the attached Leo file which provides 2 @buttons that try to change the headlines in the outline. One does it one by one, the other does it all at once (using the new proposed undo helpers):

Félix
test-change-headlines.leojs

Thomas Passin

unread,
Mar 28, 2023, 10:52:30 PM3/28/23
to leo-editor
Without a PR, it's hard to review the code without knowing what has been changed.

Félix

unread,
Mar 28, 2023, 11:33:05 PM3/28/23
to leo-editor
oh, you're right, https://github.com/leo-editor/leo-editor/pull/3228 is what i meant to paste 
Reply all
Reply to author
Forward
0 new messages