From 363a3420d1eef11e753860d431912e2f8e4bea1a Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 21 Jul 2008 18:31:30 -0400 Subject: Moved block comment key commands from language modules to _m.textadept.editing. --- core/ext/key_commands.lua | 3 ++- core/ext/key_commands_std.lua | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua index 3af58a59..f9c108db 100644 --- a/core/ext/key_commands.lua +++ b/core/ext/key_commands.lua @@ -6,7 +6,7 @@ module('textadept.key_commands', package.seeall) --[[ - C: G Q + C: G A: A C G J K L O Q W X Z CS: C D G J L Q R S T U W SA: A C D E G H I J K L M O Q R S T W X Z @@ -122,6 +122,7 @@ keys.csm = { m_editing.match_brace, 'select' } keys['c '] = { m_editing.autocomplete_word, '%w_' } keys['a '] = { m_editing.autocomplete_word_from_dict, '/usr/share/dict/cracklib-small' } +keys.cq = { m_editing.block_comment } keys.cl = { m_editing.goto_line } keys.ck = { m_editing.smart_cutcopy, } keys.csk = { m_editing.smart_cutcopy, 'copy' } diff --git a/core/ext/key_commands_std.lua b/core/ext/key_commands_std.lua index e73b6ce2..a8f730dd 100644 --- a/core/ext/key_commands_std.lua +++ b/core/ext/key_commands_std.lua @@ -7,7 +7,7 @@ module('textadept.key_commands_std', package.seeall) --[[ - C: B D H J K L Q R U + C: B D H J K L R U A: A B C D E F G H J K L M N P Q R S T U V W X Y Z CS: A B C D F G H J K L M N O Q R T U V X Y Z SA: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z @@ -56,6 +56,7 @@ local m_editing = _m.textadept.editing keys.ce = { m_editing.match_brace } keys.cse = { m_editing.match_brace, 'select' } keys['c\n'] = { m_editing.autocomplete_word, '%w_' } +keys.cq = { m_editing.block_comment } -- TODO: { m_editing.current_word, 'delete' } -- TODO: { m_editing.transpose_chars } -- TODO: { m_editing.squeeze } -- cgit v1.2.3