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

More completion stuff

This commit is contained in:
Kris Maglione
2008-11-22 09:56:57 +00:00
parent ef0b517d3f
commit 49a559866c
14 changed files with 58 additions and 56 deletions

View File

@@ -825,7 +825,7 @@ function Commands() //{{{
{
argCount: "2",
bang: true,
completer: function (filter) completion.userCommand(filter),
completer: function (context) completion.userCommand(context.filter),
options: [
[["-nargs"], commandManager.OPTION_STRING,
function (arg) /^[01*?+]$/.test(arg), ["0", "1", "*", "?", "+"]],
@@ -873,7 +873,7 @@ function Commands() //{{{
},
{
argCount: "1",
completer: function (filter) completion.userCommand(filter)
completer: function (context) completion.userCommand(context.filter)
});
//}}}