1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 00:15:45 +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

@@ -174,14 +174,11 @@ liberator.Editor = function () //{{{
liberator.commands.add([ch ? ch + "una[bbrev]" : "una[bbreviate]"],
"Remove an abbreviation" + modeDescription,
function (args) { liberator.editor.removeAbbreviation(mode, args); });
function (args) liberator.editor.removeAbbreviation(mode, args));
liberator.commands.add([ch + "abc[lear]"],
"Remove all abbreviations" + modeDescription,
function ()
{
liberator.editor.removeAllAbbreviations(mode);
},
function () liberator.editor.removeAllAbbreviations(mode),
{ argCount: "0" });
}