On Tue, Nov 16, 2010 at 7:42 AM, Edward K. Ream > Thanks for this report. I'll fix it immediately, if it truly is an > autosave problem.
The fix is on the trunk at rev 3719. It works for both tk and qt. The fix was non-trivial, for two, no three, reasons: 1. It is not possible in principle to save and restore focus to a headline edit widget because Leo's tree code (both tk and qt) reallocates all such widgets when redrawing the tree. 2. Thus, autosaving *must* be disabled while editing headlines (absent major changes to tree code which are out the question now.) 3. The new autosave code silently refuses to save the tree unless the focus is either in the tree-pane proper (not an headline edit widget) or the body pane. Determining the tree and body widgets (to compare against the presently focus widget) is gui specific. In short, the new code should work well in practice :-) Users will typically never be aware that autosaving is ever temporarily disabled. Thanks for bringing this bug to my attention. The fix is safe at this stage of the release cycle because it is limited only to the mod_autosave plugin. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
