diff options
author | 2011-07-13 20:51:17 -0400 | |
---|---|---|
committer | 2011-07-13 20:51:17 -0400 | |
commit | 8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29 (patch) | |
tree | ffe7a2317ddb80c558f28039a3120c8a3876afaa /modules/textadept/filter_through.lua | |
parent | 57101e2742f9385602c367fc054363c1e52e33a2 (diff) | |
download | textadept-8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29.tar.gz textadept-8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29.zip |
Refactored key commands and added menu accelerators.
Key commands are now in keys.conf and keys.osx.conf which are loaded by the
_m.textadept.menu module.
Diffstat (limited to 'modules/textadept/filter_through.lua')
-rw-r--r-- | modules/textadept/filter_through.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/filter_through.lua b/modules/textadept/filter_through.lua index a0cc0072..35123194 100644 --- a/modules/textadept/filter_through.lua +++ b/modules/textadept/filter_through.lua @@ -28,7 +28,7 @@ function filter_through() end events.connect(events.COMMAND_ENTRY_KEYPRESS, function(code) - if filter_through_active and code == 0xff1b then -- escape + if filter_through_active and keys.KEYSYMS[code] == 'esc' then filter_through_active = false end end, 1) -- place before command_entry.lua's handler (if necessary) |