On Tue, Feb 10, 2015 at 3:22 PM, Kent Tenney <[email protected]> wrote:

> If there's not a bug, I don't understand what is expected
> of @nosent in terms of the initial loading of a file via
> 'Refresh from disk'
>

The problem with::

    with file('nosent.txt', 'w') as f:
      f.write('Line1\nLine2')

is that file('nosent.txt') is not necessarily the same file as @nosent
nosent.txt. Without seeing your .leo file I can't know for sure.

This is my test setup:

1. Open Leo.
2. Open the external file in an external editor.
3. Change the file, then save it.
4. Do refresh-from-disk from Leo.
5. Verify that the changes have been made in Leo.

This exercises, *for sure*, a refresh from disk from the intended file. And
it works for me.

If my test setup fails for you, try clearing all caches or running Leo with
--no-cache.

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.

Reply via email to