Given the back and forth here, the (only?) potential for out-of-sync conditions would be unsaved changes in the vim version, maybe a case of "don't do that"
however The .extfile.swp contains a real time version of the file being edited, regardless of save status. It's a binary file, haven't found any discussion of how to parse it. On Fri, Mar 27, 2015 at 4:53 PM, Edward K. Ream <[email protected]> wrote: > > > On Fri, Mar 27, 2015 at 12:20 PM, Kent Tenney <[email protected]> wrote: >> >> > Ideally, leo would operate just like vim and detect changes to external >> > files >> >> Currently, Leo must be checking for the vim editing session to end, >> at which time it checks the disk file for changes and responds >> accordingly. > > > There is an idle-time handler involved, although I forget the details. > >> >> >> What if it did it's routine upon acquiring focus? > > > And idle-time check on a temp file is much more reliable than any > focus-related code. > > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
