Great news! Thank you very much for that! пн, 16 дек. 2019 г. в 15:01, Edward K. Ream <[email protected]>:
> The new code fixes #1451 and is a thorough rewrite of all undo-related > code. It's much simpler and robust than before. > > I have been happily eating my own dog food for several days. Please > report any problems immediately. > > I have updated code as necessary throughout Leo's core, all plugins, > unitTest.leo and scripts.leo > > *Code changes* > > - All the dirtyVnodeList logic is gone. This collapses the complexity of > all clients of Leo's undo code, a major simplification. > > - Split c.setChanged(flag) into c.setChanged() & c.clearChanged(). The new > api is simpler and more robust. I'll soon update the cheat sheet, etc. > > - p.setDirty now sets the roots of all external files dirty. This is > another big collapse in code complexity. > > - Importers should no longer clear c.changed. As I write this, I see some > of this got reverted. I'll fix this next. > > *Summary* > > There will be no going back to the old way. > > Bugs might still exist. Fixes would be much easier in the new world. > > 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/67228855-aafa-456d-abfd-a03edc974a10%40googlegroups.com > <https://groups.google.com/d/msgid/leo-editor/67228855-aafa-456d-abfd-a03edc974a10%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAC%2B8SVwMCMniC3NWPPAPVyPj%2B-3GP2y%3DUvJ5sr%2BJO-3ckFmw5Q%40mail.gmail.com.
