From f8fc742043c749768266e6b9d432b4cfeb861b28 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 22 Mar 2020 20:59:02 -0400 Subject: Use the statusbar to indicate an active snippet. This helps avoid disorienting jumps when the user is not aware a snippet is still active. --- modules/textadept/command_entry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/command_entry.lua') 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') -- cgit v1.2.3