diff options
-rw-r--r-- | doc/06_AdeptEditing.md | 8 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/06_AdeptEditing.md b/doc/06_AdeptEditing.md index f5db001d..e28daf7c 100644 --- a/doc/06_AdeptEditing.md +++ b/doc/06_AdeptEditing.md @@ -126,7 +126,7 @@ word encloses it in XML tags. #### Change Case Pressing `Ctrl+Alt+U` or `Ctrl+Alt+Shift+U` (`^U` or `^⇧U` on Mac OSX | `M-^U` -or `M-^L` in ncurses) converts selected text to uppercase letters or lowercase +or `M-^L` in ncurses) converts selected text to upper case letters or lower case letters respectively. #### Change Indent Level @@ -150,9 +150,9 @@ line is eligible for moving. Replace pane. In addition to offering the usual find and replace with "Match Case" and "Whole Word" options and find/replace history, Textadept allows you to find with [Lua patterns][] and replace with Lua captures and even Lua code! For -example: replacing all `(%w+)` with `%(string.upper('%1'))` uppercases all words -in the buffer. Lua captures (`%`_`n`_) are only available from a Lua pattern -search, but embedded Lua code enclosed in `%()` is always allowed. +example: replacing all `(%w+)` with `%(string.upper('%1'))` upper cases all +words in the buffer. Lua captures (`%`_`n`_) are only available from a Lua +pattern search, but embedded Lua code enclosed in `%()` is always allowed. Note the `Ctrl+G`, `Ctrl+Shift+G`, `Ctrl+Alt+R`, `Ctrl+Alt+Shift+R` key bindings for find next, find previous, replace, and replace all (`⌘G`, `⌘⇧G`, `^R`, `^⇧R` diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 0a74b7c4..394c7a9a 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -348,7 +348,7 @@ local utils = M.utils -- * Adding the Alt and/or Shift modifiers to any of the above keys also -- gives the same result, but with only the Alt modifier being -- recognized (e.g. `keys['ca$']` would be `keys['ca\']`). --- * Control+[Alt+]Shift+letter does not report the uppercase letter (e.g. +-- * Control+[Alt+]Shift+letter does not report the upper case letter (e.g. -- `keys.cA` in the GUI would be `keys.ca` in the terminal and similarly, -- `keys.caA` would be `keys.caa`). -- * No modifiers are recognized for the function keys (e.g. F1-F12). |