aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/adeptsense.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-08-24 14:26:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-08-24 14:26:24 -0400
commit2052c77111051972d8171d27c8d4c501803e70d6 (patch)
treea38f24f35a3a4dc06f32eb365f439fc2b3918ea7 /modules/textadept/adeptsense.lua
parent58e1d2b46d09b79ad9c43ae177057c8578294649 (diff)
downloadtextadept-2052c77111051972d8171d27c8d4c501803e70d6.tar.gz
textadept-2052c77111051972d8171d27c8d4c501803e70d6.zip
Include Scintilla constants in `buffer`s.
Diffstat (limited to 'modules/textadept/adeptsense.lua')
-rw-r--r--modules/textadept/adeptsense.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua
index 283e7576..8a32f290 100644
--- a/modules/textadept/adeptsense.lua
+++ b/modules/textadept/adeptsense.lua
@@ -826,7 +826,7 @@ function M.goto_ctag(sense, kind, title)
if not tonumber(line) then
-- /^ ... $/
buffer.target_start, buffer.target_end = 0, buffer.length
- buffer.search_flags = _SCINTILLA.constants.SCFIND_REGEXP
+ buffer.search_flags = buffer.SCFIND_REGEXP
if buffer:search_in_target(line:sub(2, -2)) >= 0 then
buffer:goto_pos(buffer.target_start)
end