aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-14 16:38:47 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-14 16:38:47 -0500
commitdcd7413d5ef4ab03ed7f748108247e3542381f9d (patch)
tree73e1a240ed65f3de5183a5df94baa7dae89fee71
parent754687fd75a226cb5a3a46d92b8c48e589a59a54 (diff)
downloadtextadept-dcd7413d5ef4ab03ed7f748108247e3542381f9d.tar.gz
textadept-dcd7413d5ef4ab03ed7f748108247e3542381f9d.zip
update_ui() when selecting a lexer from the menu just in case; core/ext/menu.lua
-rw-r--r--core/ext/menu.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ext/menu.lua b/core/ext/menu.lua
index 3b3ec7ef..3f91ab2b 100644
--- a/core/ext/menu.lua
+++ b/core/ext/menu.lua
@@ -423,6 +423,7 @@ end
local function set_lexer_language(lexer)
buffer:set_lexer_language(lexer)
buffer:colourise(0, -1)
+ textadept.events.update_ui() -- for updating statusbar
end
local actions = {