On Wed, Dec 11, 2019 at 3:24 AM gar <[email protected]> wrote: > Looks like that ctrl-z causes this odd behavior. >
Thanks for this testing. I distinctly remember there was a discussion that ctrl-z should reset the changed status of an outline. I can't seem to find the discussion or any changed code. My present thinking is that undo should *always* set the outline's changed flag and in addition should mark all relevant nodes as *dirty*, rather than resetting their dirty bits. Indeed, after saving a file, *any* change, including an undo, must set the dirty bits, else a later save will not see the changes. *Summary* Undo must *set* the dirty bits of all affected nodes, not *restore/clear* dirty bits. I suspect there were recent changes in this area in response to a user's request. However, I can find neither the corresponding issue nor corresponding changes in the code. I'll continue my investigations. This bug has top priority. 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/CAMF8tS2%3D8q_t-VqtC2mg19-Q8EwtZshcdoj%2BOU02s4AOFeUBXQ%40mail.gmail.com.
