aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-09-01 19:07:03 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-09-01 19:07:03 -0400
commit3fc6a7c1d637a3b1da306d96b74794289331522a (patch)
tree66ff6fe3365781f4327f55bff0b9635ffdc6dfa4 /core
parentbdffa3c1b3159a92a9b92720aa33f6d847ccccb2 (diff)
downloadtextadept-3fc6a7c1d637a3b1da306d96b74794289331522a.tar.gz
textadept-3fc6a7c1d637a3b1da306d96b74794289331522a.zip
Clear appropriate defaultt Scintilla key commands; core/events.lua
Diffstat (limited to 'core')
-rw-r--r--core/events.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/events.lua b/core/events.lua
index 9650dd4c..3abe257e 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -232,8 +232,10 @@ connect('view_new',
local c = _SCINTILLA.constants
-- allow redefinitions of these Scintilla key commands
- local ctrl_keys = { 'Z', 'Y', 'X', 'C', 'V', 'A', 'D' }
- local ctrl_shift_keys = { '[', ']', '/', '\\', 'L', 'T', 'U' }
+ local ctrl_keys = {
+ '[', ']', '/', '\\', 'Z', 'Y', 'X', 'C', 'V', 'A', 'L', 'T', 'D', 'U'
+ }
+ local ctrl_shift_keys = { 'L', 'T', 'U' }
for _, key in ipairs(ctrl_keys) do
buffer:clear_cmd_key(string.byte(key), c.SCMOD_CTRL)
end