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

add bangAllowed property to Command's extraInfo to specify whether the bang

version of the command is available
This commit is contained in:
Doug Kearns
2008-10-04 09:00:36 +00:00
parent 690ce8d8e2
commit 156fa5d56f
16 changed files with 166 additions and 171 deletions

View File

@@ -328,16 +328,12 @@ liberator.CommandLine = function () //{{{
liberator.options.add(["history", "hi"],
"Number of Ex commands and search patterns to store in the command-line history",
"number", 500,
{
validator: function (value) value >= 0
});
{ validator: function (value) value >= 0 });
liberator.options.add(["messages", "msgs"],
"Number of messages to store in the message history",
"number", 100,
{
validator: function (value) value >= 0
});
{ validator: function (value) value >= 0 });
liberator.options.add(["more"],
"Pause the message list window when more than one screen of listings is displayed",
@@ -499,9 +495,7 @@ liberator.CommandLine = function () //{{{
if (str != null)
command.action(str);
},
{
completer: function (filter) liberator.completion.javascript(filter)
});
{ completer: function (filter) liberator.completion.javascript(filter) });
});
liberator.commands.add(["mes[sages]"],
@@ -514,7 +508,8 @@ liberator.CommandLine = function () //{{{
let list = messageHistory.messages.join("\n");
liberator.commandline.echo(list);
}, { argCount: "0" });
},
{ argCount: "0" });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////