1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:27:58 +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

@@ -394,9 +394,9 @@ function Options() //{{{
{
bang: true,
count: true,
completer: function (filter, special, count)
completer: function (context, args, special, count)
{
return commands.get("set").completer(filter, special, count, { scope: options.OPTION_SCOPE_LOCAL });
return commands.get("set").completer(context.filter, special, count, { scope: options.OPTION_SCOPE_LOCAL });
}
}
);
@@ -410,9 +410,9 @@ function Options() //{{{
{
bang: true,
count: true,
completer: function (filter, special, count)
completer: function (context, args, special, count)
{
return commands.get("set").completer(filter, special, count, { scope: options.OPTION_SCOPE_GLOBAL });
return commands.get("set").completer(context.filter, special, count, { scope: options.OPTION_SCOPE_GLOBAL });
}
}
);
@@ -686,7 +686,7 @@ function Options() //{{{
},
{
bang: true,
completer: function (filter, special, count, modifiers)
completer: function (context, args, special, count, modifiers)
{
var optionCompletions = [];