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

add 'wildoptions' completion

This commit is contained in:
Doug Kearns
2008-09-20 15:04:15 +00:00
parent 93a7be637b
commit ef65a76c3d
3 changed files with 14 additions and 3 deletions

View File

@@ -367,6 +367,13 @@ liberator.CommandLine = function () //{{{
"Change how command line completion is done",
"stringlist", "",
{
completer: function (value)
{
return [
["auto", "Automatically show completions while you are typing"],
["sort", "Always sort the completion list"]
];
},
validator: function (value)
{
return value.split(",").every(function (item) { return /^(sort|auto|)$/.test(item); });