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

Better option completion/validation.

This commit is contained in:
Kris Maglione
2008-11-28 04:28:38 +00:00
parent 49d331f811
commit 2ef031c756
10 changed files with 39 additions and 61 deletions

View File

@@ -568,7 +568,7 @@ function Hints() //{{{
{
return [[m, ""] for each (m in ["contains", "wordstartswith", "firstletters", "custom"])];
},
validator: function (value) /^(contains|wordstartswith|firstletters|custom)$/.test(value)
validator: options.validateCompleter
});
options.add(["wordseparators", "wsp"],