On Sat, Aug 17, 2019 at 10:09 PM Brian Theado <[email protected]> wrote:
It isn't clear to me what Position p are supposed to be passed into the > undoer beforeXXX and afterXXX methods. > It's not clear to me either. I owe you, and all of Leo's users, an apology for writing such crappy, undocumented, code ;-) The undo/redo group operations, which the traceback shows you are using, are particularly tricky. My *guess:* there will be problems if the p arg passed to beforeUndoGroup doesn't match the p arg passed to afterUndoGroup. This makes sense: there has to be a stable point *somewhere.* 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/CAMF8tS0eLSiAEr9qNAhxM9mNejc2D%3DQhVNr7vmwq4MNHbXFH5A%40mail.gmail.com.
