From 36675f10b0cefaee7e9451b3eec3dfd715888625 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 29 Jul 2011 18:27:06 -0400 Subject: Eliminated the need for keys.conf and keys.osx.conf. Thanks to Robert Gieseke for the idea and prototype code. --- core/.buffer.luadoc | 1 + core/gui.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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 -- cgit v1.2.3