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

* renamed shortHelp -> decription

* refactored abbreviation and mapping commands (actually 200 LOC less now :)
This commit is contained in:
Martin Stubenschrott
2008-02-29 14:46:33 +00:00
parent 8184b1109f
commit 57debc00e0
13 changed files with 357 additions and 493 deletions

View File

@@ -134,7 +134,7 @@ vimperator.util = { //{{{
var ret = "";
var longHelp = false;
if ((command.help && command.shortHelp) && (command.help.length + command.shortHelp.length) > 50)
if ((command.help && command.description) && (command.help.length + command.description.length) > 50)
longHelp = true;
// the tags which are printed on the top right
@@ -162,7 +162,7 @@ vimperator.util = { //{{{
// the actual help text
if (command.shortHelp)
{
ret += command.shortHelp + "."; // the help description
ret += command.description + "."; // the help description
if (extraHelp)
ret += " +\n" + extraHelp;
}