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

add :set validation and completion for 'eventignore' and 'suggestengines'

This commit is contained in:
Doug Kearns
2008-09-26 05:29:17 +00:00
parent 75d56ccd5d
commit 6eea753fa1
7 changed files with 49 additions and 29 deletions

View File

@@ -591,11 +591,11 @@ liberator.Hints = function () //{{{
"How links are matched",
"string", "contains",
{
validator: function (value) /^(?:contains|wordstartswith|firstletters|custom)$/.test(value),
completer: function (filter)
{
return ["contains", "wordstartswith", "firstletters", "custom"].map(function (m) [m, ""]);
}
},
validator: function (value) /^(contains|wordstartswith|firstletters|custom)$/.test(value)
});
liberator.options.add(["wordseparators", "wsp"],