aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-06-18 16:59:00 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-06-18 16:59:00 -0400
commitd1aff3f043d8ad0969afe8181c361a5f29306c73 (patch)
tree362e431e7591f9f3261cda5fd9246dbb2e18f1dd
parent4d811a578baaae01c1aad34d9f3c176c40831841 (diff)
downloadtextadept-d1aff3f043d8ad0969afe8181c361a5f29306c73.tar.gz
textadept-d1aff3f043d8ad0969afe8181c361a5f29306c73.zip
Added statusbar notification on reset(); core/events.lua
-rw-r--r--core/events.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index eb0e5d0c..a646ba07 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -399,6 +399,8 @@ connect('view_after_switch',
emit('update_ui')
end)
+connect('reset_after', function() gui.statusbar_text = 'Lua reset' end)
+
connect('quit',
function() -- prompts for confirmation if any buffers are dirty
local any = false