diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-09-28 21:39:35 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-09-28 21:39:35 -0400 |
commit | 0338509b99556d61daa83a87fd57e3dc703b0464 (patch) | |
tree | 9f9bab5b9ccd8b40081ddcd8ae915e986f4b5a72 /common | |
parent | 3f603c5db288f5a4a6f1a0a94711e653fcb95edc (diff) | |
download | pentadactyl-0338509b99556d61daa83a87fd57e3dc703b0464.tar.gz |
Fix typos and stuff.
Diffstat (limited to 'common')
-rw-r--r-- | common/content/editor.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/content/editor.js b/common/content/editor.js index 39a4b8d8..aa21c07a 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -650,7 +650,7 @@ var Editor = Module("editor", { ["<C-i>"], "Edit text field with an external editor", function () { editor.editFieldExternally(); }); - bind(["<C-t>"], "Edit text field in Vi mode", + bind(["<C-t>"], "Edit text field in Text Edit mode", function () { dactyl.assert(!editor.isTextEdit && Editor.getEditor(null)); dactyl.assert(dactyl.focusedElement || @@ -700,7 +700,7 @@ var Editor = Module("editor", { }, { count: true }); - bind(["D"], "Delete the characters under the cursor until the end of the line", + bind(["D"], "Delete characters from the cursor to the end of the line", function () { editor.executeCommand("cmd_deleteToEndOfLine"); }); mappings.add([modes.TEXT_EDIT], @@ -792,7 +792,7 @@ var Editor = Module("editor", { return pos; } - bind(["f"], "Move to a character on the current line after the cursor", + bind(["f"], "Find a character on the current line, forwards", function ({ arg, count }) { let pos = editor.findChar(arg, Math.max(count, 1)); if (pos >= 0) @@ -800,7 +800,7 @@ var Editor = Module("editor", { }, { arg: true, count: true, type: "operator" }); - bind(["F"], "Move to a character on the current line before the cursor", + bind(["F"], "Find a character on the current line, backwards", function ({ arg, count }) { let pos = editor.findChar(arg, Math.max(count, 1), true); if (pos >= 0) @@ -808,7 +808,7 @@ var Editor = Module("editor", { }, { arg: true, count: true, type: "operator" }); - bind(["t"], "Move before a character on the current line", + bind(["t"], "Find a character on the current line, forwards, and move to the character before it", function ({ arg, count }) { let pos = editor.findChar(arg, Math.max(count, 1)); if (pos >= 0) @@ -816,7 +816,7 @@ var Editor = Module("editor", { }, { arg: true, count: true, type: "operator" }); - bind(["T"], "Move before a character on the current line, backwards", + bind(["T"], "Find a character on the current line, backwards, and move to the character after it", function ({ arg, count }) { let pos = editor.findChar(arg, Math.max(count, 1), true); if (pos >= 0) |