diff options
author | 2013-09-16 22:02:02 -0400 | |
---|---|---|
committer | 2013-09-16 22:02:02 -0400 | |
commit | a274210f459e32c11c227f55c2cf7a9cb50af2ad (patch) | |
tree | 83c62bae40fe5381913a51bcd007b67107061090 /core/ui.lua | |
parent | 095980fbbc1f5f4956afdee2802b87ce45f245e7 (diff) | |
download | textadept-a274210f459e32c11c227f55c2cf7a9cb50af2ad.tar.gz textadept-a274210f459e32c11c227f55c2cf7a9cb50af2ad.zip |
Removed the `SC` prefix from most constants in `_SCINTILLA.constants`.
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/ui.lua b/core/ui.lua index c007c4f9..8149b9d7 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -221,11 +221,10 @@ events_connect(events.VIEW_NEW, function() } local ctrl_shift_keys = {'L', 'T', 'U', 'Z'} for _, key in ipairs(ctrl_keys) do - buffer:clear_cmd_key(string.byte(key), buffer.SCMOD_CTRL) + buffer:clear_cmd_key(string.byte(key), buffer.MOD_CTRL) end for _, key in ipairs(ctrl_shift_keys) do - buffer:clear_cmd_key(string.byte(key), - buffer.SCMOD_CTRL + buffer.SCMOD_SHIFT) + buffer:clear_cmd_key(string.byte(key), buffer.MOD_CTRL + buffer.MOD_SHIFT) end -- Since BUFFER_NEW loads themes and settings on startup, only load them for -- subsequent views. |