aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-01-20 23:30:22 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2015-01-20 23:30:22 -0500
commit51b789d2d5a95e5452284ffcd73b132538d73b65 (patch)
tree42cf682b96753341f552d5c4e91ac2d27a59972f
parente98ebc0455850212919b1db20270fc1d4a759608 (diff)
downloadtextadept-51b789d2d5a95e5452284ffcd73b132538d73b65.tar.gz
textadept-51b789d2d5a95e5452284ffcd73b132538d73b65.zip
Check for modified files after resuming from suspend; core/file_io.lua
-rw-r--r--core/file_io.lua1
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.