From 63c682d80646bee86e20a9e26f628e72145c3c82 Mon Sep 17 00:00:00 2001
From: mitchell <70453897+667e-11@users.noreply.github.com>
Date: Fri, 25 Feb 2011 18:56:32 -0500
Subject: Changed Ctrl+H key command (highlight word) to Ctrl+Shift+H. Ctrl+H
will now show symbol apidoc when available.
---
doc/manual/14_Appendix.md | 3 ++-
modules/textadept/keys.lua | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/manual/14_Appendix.md b/doc/manual/14_Appendix.md
index fe06b577..6c328a91 100644
--- a/doc/manual/14_Appendix.md
+++ b/doc/manual/14_Appendix.md
@@ -27,9 +27,10 @@
Ctrl+Shift+E | Apple+Shift+E | Select to matching brace |
Ctrl+Return | Escape | Autocomplete word in file |
Ctrl+I | ~ | Autocomplete symbol for supported languages |
+ Ctrl+H | Ctrl+H | Show symbol apidoc for supported languages |
Ctrl+Q | Ctrl+Q | Block comment/uncomment |
None | None | Delete word |
- Ctrl+H | Ctrl+Apple+T | Highlight word occurances |
+ Ctrl+Shift+H | Ctrl+Apple+T | Highlight word occurances |
None | Ctrl+T | Transpose characters |
None | None | Convert indentation |
None | Ctrl+K | Cut to end of line |
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 257b6842..bdda2d7f 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -60,9 +60,9 @@ if not OSX then
-- Windows and Linux key commands.
--[[
- C: D I J K M U
+ C: D J K M U
A: A B C D E F G H J K L M N P S T U V W X Y Z
- CS: A B C D G H I J K L M N O Q T U V X Y Z
+ CS: A B C D G I J K L M N O Q 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
CA: A B C D E F G H J K L M N O Q R S T U V W X Y Z
CSA: A B C D E F G H J K L M N O P Q R S T U V W X Y Z
@@ -100,7 +100,7 @@ if not OSX then
keys['c\n\r'] = { m_editing.autocomplete_word, '%w_' } -- win32
keys.cq = { m_editing.block_comment }
-- TODO: { m_editing.current_word, 'delete' }
- keys.ch = { m_editing.highlight_word }
+ keys.csh = { m_editing.highlight_word }
-- TODO: { m_editing.transpose_chars }
-- TODO: { m_editing.convert_indentation }
keys.ac = { -- enClose in...
@@ -338,7 +338,7 @@ else
keys.cA = { 'home_extend', b }
keys.ce = { 'line_end', b }
keys.cE = { 'line_end_extend', b }
- keys.ch = { 'delete_back', b }
+ --keys.ch = { 'delete_back', b }
keys.cah = { 'del_word_left', b }
keys.cd = { 'clear', b }
keys.cad = { 'del_word_right', b }
--
cgit v1.2.3