aboutsummaryrefslogtreecommitdiff
path: root/core/ext
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-07-21 18:31:30 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-07-21 18:31:30 -0400
commit363a3420d1eef11e753860d431912e2f8e4bea1a (patch)
tree271a5c434ab3478688014e90a42ed76bb266ae55 /core/ext
parentdc834b3f99281c19c495a97d0da7818c57e186ea (diff)
downloadtextadept-363a3420d1eef11e753860d431912e2f8e4bea1a.tar.gz
textadept-363a3420d1eef11e753860d431912e2f8e4bea1a.zip
Moved block comment key commands from language modules to _m.textadept.editing.
Diffstat (limited to 'core/ext')
-rw-r--r--core/ext/key_commands.lua3
-rw-r--r--core/ext/key_commands_std.lua3
2 files changed, 4 insertions, 2 deletions
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 }