1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 21:27:58 +01:00

Normalise mode name references in command/option/mapping descriptions.

--HG--
extra : rebase_source : e1de378b096c1292f237fcf45b1e6f926f7b6471
This commit is contained in:
Doug Kearns
2011-07-21 23:28:23 +10:00
parent 013408017e
commit bf186edf8f
6 changed files with 13 additions and 13 deletions

View File

@@ -729,15 +729,15 @@ var Editor = Module("editor", {
// visual mode
mappings.add([modes.CARET, modes.TEXT_EDIT],
["v"], "Start visual mode",
["v"], "Start VISUAL mode",
function () { modes.push(modes.VISUAL); });
mappings.add([modes.VISUAL],
["v", "V"], "End visual mode",
["v", "V"], "End VISUAL mode",
function () { modes.pop(); });
mappings.add([modes.TEXT_EDIT],
["V"], "Start visual line mode",
["V"], "Start VISUAL LINE mode",
function () {
modes.push(modes.VISUAL, modes.LINE);
editor.executeCommand("cmd_beginLine", 1);
@@ -882,7 +882,7 @@ var Editor = Module("editor", {
});
options.add(["insertmode", "im"],
"Enter Insert mode rather than Text Edit mode when focusing text areas",
"Enter INSERT mode rather than TEXT_EDIT mode when focusing text areas",
"boolean", true);
}
});