aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-10-31 11:40:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-10-31 11:40:24 -0400
commita05c9b1746a06a90362587623826c72c2ac709e7 (patch)
tree0598b24af2c9fb67fc3305c00493fd5cccdd8808
parent72c380120bb963d26bc973a5fb2dc10579a9dfc8 (diff)
downloadtextadept-a05c9b1746a06a90362587623826c72c2ac709e7.tar.gz
textadept-a05c9b1746a06a90362587623826c72c2ac709e7.zip
Fix typos in documentation.
-rw-r--r--doc/06_AdeptEditing.md8
-rw-r--r--modules/textadept/keys.lua2
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).