aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-07-26 18:58:57 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-07-26 18:58:57 -0400
commit0b5f7fc9742f8c7f3053219d76896b08c9cfa87d (patch)
treead2600b6226bd94d985803f76ab46c40140b87aa /modules/textadept/menu.lua
parentbc43ca39b259699f91011544c18c3fa287aef1f3 (diff)
downloadtextadept-0b5f7fc9742f8c7f3053219d76896b08c9cfa87d.tar.gz
textadept-0b5f7fc9742f8c7f3053219d76896b08c9cfa87d.zip
Removed "Refresh syntax highlighting" feature.
This is a legacy feature for when multi-language lexers did not backtrack to keep track of what the current language is.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index d6120771..7a3e5465 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -299,8 +299,7 @@ local default_menubar = {
view.view_ws = view.view_ws == 0 and view.WS_VISIBLEALWAYS or 0
end},
SEPARATOR,
- {_L['Select Lexer...'], textadept.file_types.select_lexer},
- {_L['Refresh Syntax Highlighting'], function() buffer:colorize(1, -1) end}
+ {_L['Select Lexer...'], textadept.file_types.select_lexer}
},
{
title = _L['View'],