On Sat, Jul 20, 2024 at 9:25 AM Jacob Peck <[email protected]> wrote:

> Is there no way to simply call the code that creates the default layout in
> the first place?  If possible, it would obviate the need for any undoers at
> all.  Just call it as the first thing any layout script does.
>

That was the first approach I tried.  Some of the layout-changing scripts
insert "helper" widgets and make other tweaks, so no general solution is
likely, much less an easy-to-understand solution.

The situation is analogous to Leo's under code in leoUndo.py. That code
uses custom undoers.

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/CAMF8tS2vOnq6w%3DtHfzaAv8q9U14Opa2Qb86eppexs9b_2FCGZg%40mail.gmail.com.

Reply via email to