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 -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/20c0cbf4-f87d-4fb3-99f6-7de7aadca7a9n%40googlegroups.com.
test-change-headlines.leojs
Description: Binary data