diff options
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r-- | modules/textadept/editing.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index c39d699a..6128e320 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -1,9 +1,5 @@ -- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. -local L = locale.localize -local events = events -local K = keys.KEYSYMS - local M = {} --[[ This comment is for LuaDoc. @@ -75,6 +71,9 @@ M.braces = { [40] = 1, [41] = 1, [91] = 1, [93] = 1, [123] = 1, [125] = 1 } -- @name current_call_tip local current_call_tip = {} +local events = events +local K = keys.KEYSYMS + -- Matches characters specified in char_matches. events.connect(events.CHAR_ADDED, function(c) if not M.AUTOPAIR then return end @@ -255,8 +254,8 @@ end function M.goto_line(line) if not line then line = tonumber(gui.dialog('standard-inputbox', - '--title', L('Go To'), - '--text', L('Line Number:'), + '--title', _L['Go To'], + '--text', _L['Line Number:'], '--no-newline'):match('%-?%d+$')) if not line or line < 0 then return end end |