aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-22 20:59:02 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-22 20:59:02 -0400
commitf8fc742043c749768266e6b9d432b4cfeb861b28 (patch)
tree88d3a4dd64e0dc50e7067ad333daa36f85961085 /modules/textadept/command_entry.lua
parent27f83dd10dceae4998fd16bd73196c8536f6c753 (diff)
downloadtextadept-f8fc742043c749768266e6b9d432b4cfeb861b28.tar.gz
textadept-f8fc742043c749768266e6b9d432b4cfeb861b28.zip
Use the statusbar to indicate an active snippet.
This helps avoid disorienting jumps when the user is not aware a snippet is still active.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 168b53f5..8665e3fd 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -112,7 +112,7 @@ local function run_lua(code)
end
end
if result ~= nil or code:find('^return ') then ui.print(result) end
- events.emit(events.UPDATE_UI)
+ events.emit(events.UPDATE_UI, 0)
end
args.register('-e', '--execute', 1, run_lua, 'Execute Lua code')