diff options
author | 2011-12-31 18:00:19 -0500 | |
---|---|---|
committer | 2011-12-31 18:00:19 -0500 | |
commit | bd55d676f133a5b38ca53c33bf599d66dfe1fc87 (patch) | |
tree | 369c9cfa6fe5e32eeb3bc89d0a86d3c8def57044 /modules/textadept/filter_through.lua | |
parent | ae8dddf78ef5b07f4d64471d8f6800746373af6e (diff) | |
download | textadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.tar.gz textadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.zip |
Changed 'locale.localize()' to global '_L' table.
Diffstat (limited to 'modules/textadept/filter_through.lua')
-rw-r--r-- | modules/textadept/filter_through.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/textadept/filter_through.lua b/modules/textadept/filter_through.lua index c97562fe..5a981270 100644 --- a/modules/textadept/filter_through.lua +++ b/modules/textadept/filter_through.lua @@ -1,8 +1,5 @@ -- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. -local L = locale.localize -local events = events - local M = {} --[[ This comment is for LuaDoc. @@ -31,6 +28,8 @@ function M.filter_through() gui.command_entry.focus() end +local events = events + events.connect(events.COMMAND_ENTRY_KEYPRESS, function(code) if filter_through_active and keys.KEYSYMS[code] == 'esc' then filter_through_active = false |