aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2017-11-18 21:45:20 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2017-11-18 21:45:20 -0500
commit9526d491e7c01e74bbcec0fe25fb13384f9036c9 (patch)
treeae1d15c7659424e55a60e896beffeb4a4b2d3879 /modules/textadept/menu.lua
parenta8a0f88ae32effeb328b71903b0976129065c360 (diff)
downloadtextadept-9526d491e7c01e74bbcec0fe25fb13384f9036c9.tar.gz
textadept-9526d491e7c01e74bbcec0fe25fb13384f9036c9.zip
Enforce extra argument to `buffer:brace_match()` introduced in Scintilla 3.7.0.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 672ddfa9..9b67eb7e 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -91,7 +91,7 @@ local default_menubar = {
{_L['Select _All'], buffer.select_all},
SEPARATOR,
{_L['_Match Brace'], function()
- local match_pos = buffer:brace_match(buffer.current_pos)
+ local match_pos = buffer:brace_match(buffer.current_pos, 0)
if match_pos >= 0 then buffer:goto_pos(match_pos) end
end},
{_L['Complete _Word'], function()