diff options
author | 2009-02-22 15:01:06 -0500 | |
---|---|---|
committer | 2009-02-22 15:01:06 -0500 | |
commit | 6d0c74865a9895e8b43e62672ca334d5209cc8d3 (patch) | |
tree | d21a3858faa66b82823ed1173761ffb0a46a3318 /core | |
parent | 7447ac1229e4aab7e1ee4f95d321277640f0ee92 (diff) | |
download | textadept-6d0c74865a9895e8b43e62672ca334d5209cc8d3.tar.gz textadept-6d0c74865a9895e8b43e62672ca334d5209cc8d3.zip |
Reset buffer.modification_time inside buffer:reload(); core/file_io.lua
Diffstat (limited to 'core')
-rw-r--r-- | core/file_io.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 55bb731c..45661322 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -84,6 +84,7 @@ function reload(buffer) buffer:line_scroll(0, first_visible_line) buffer:goto_pos(pos) buffer:set_save_point() + buffer.modification_time = lfs.attributes(buffer.filename).modification f:close() end |