On Sun, Mar 8, 2020 at 2:07 PM vitalije <[email protected]> wrote: > >> Oh, I see. It's the latest rev. I haven't updated LeoPyRef.leo recently, >> so maybe this is a long-standing issue. >> >> > In order not to forget to update public outline, I have a button in all my > private outlines. This button is bound to Ctrl-s. It's body contains calls > to both c.save() and c.fileCommands.save_ref(). In my private files I have > set reference file using command `set-reference-file` to the public > version. So, whenever I click Ctrl-s to save my private outline, public > outline gets updated also. The only thing I have to remember is after > pulling other's changes, I need to execute 'read-ref-file', to synhronize > my private outline with the public one. > > While I am writing this, I have an idea. After opening private file, it > can check that the contents of the public file is the same as the public > part of the private file. If they are not equal, then it should remind me > to read-ref-file. This can be done in a plugin. Hope to write it soon. >
Thanks for these comments. How did you discover the problem with LeoPyRef.leo? 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/CAMF8tS1noXWYeb5XgC6ag0rE9xkRSAJ5CvjVV3fMWHWvGTgM8g%40mail.gmail.com.
