diff options
author | 2015-01-20 23:30:22 -0500 | |
---|---|---|
committer | 2015-01-20 23:30:22 -0500 | |
commit | 51b789d2d5a95e5452284ffcd73b132538d73b65 (patch) | |
tree | 42cf682b96753341f552d5c4e91ac2d27a59972f /core | |
parent | e98ebc0455850212919b1db20270fc1d4a759608 (diff) | |
download | textadept-51b789d2d5a95e5452284ffcd73b132538d73b65.tar.gz textadept-51b789d2d5a95e5452284ffcd73b132538d73b65.zip |
Check for modified files after resuming from suspend; 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 84288230..3c7cb1f2 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -309,6 +309,7 @@ end events_connect(events.BUFFER_AFTER_SWITCH, update_modified_file) events_connect(events.VIEW_AFTER_SWITCH, update_modified_file) events_connect(events.FOCUS, update_modified_file) +events_connect(events.RESUME, update_modified_file) -- Prompts the user to reload the current file if it has been externally -- modified. |