From 0338509b99556d61daa83a87fd57e3dc703b0464 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 28 Sep 2011 21:39:35 -0400 Subject: [PATCH] Fix typos and stuff. --- common/content/editor.js | 12 ++++++------ 1 file 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", { [""], "Edit text field with an external editor", function () { editor.editFieldExternally(); }); - bind([""], "Edit text field in Vi mode", + bind([""], "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)