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:
@@ -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" });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user