diff options
author | 2011-07-29 18:27:06 -0400 | |
---|---|---|
committer | 2011-07-29 18:27:06 -0400 | |
commit | 36675f10b0cefaee7e9451b3eec3dfd715888625 (patch) | |
tree | 5a2135ef56b3e52bdf63fb4a82d4cec8c5e41eab /core | |
parent | 32da7ac1a36d2285daa3a0ee280f1730415f04cf (diff) | |
download | textadept-36675f10b0cefaee7e9451b3eec3dfd715888625.tar.gz textadept-36675f10b0cefaee7e9451b3eec3dfd715888625.zip |
Eliminated the need for keys.conf and keys.osx.conf.
Thanks to Robert Gieseke for the idea and prototype code.
Diffstat (limited to 'core')
-rw-r--r-- | core/.buffer.luadoc | 1 | ||||
-rw-r--r-- | core/gui.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 01219b6e..93fe8abe 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -2408,6 +2408,7 @@ function buffer.set_lexer(buffer, lang) end -- Replacement for buffer.get_lexer_language(buffer). -- @param buffer The focused buffer. function buffer.get_lexer(buffer) end + --- -- Returns the name of the style associated with a style number. -- @param buffer The focused buffer. diff --git a/core/gui.lua b/core/gui.lua index 09540f7e..e0a739b4 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -98,7 +98,7 @@ connect(events.VIEW_NEW, function() local ctrl_keys = { '[', ']', '/', '\\', 'Z', 'Y', 'X', 'C', 'V', 'A', 'L', 'T', 'D', 'U' } - local ctrl_shift_keys = { 'L', 'T', 'U' } + local ctrl_shift_keys = { 'L', 'T', 'U', 'Z' } for _, key in ipairs(ctrl_keys) do buffer:clear_cmd_key(string.byte(key), c.SCMOD_CTRL) end |