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

Re-add cpt=h. Make cpt= extensible.

This commit is contained in:
Kris Maglione
2008-11-25 00:00:44 +00:00
parent 75120e0e04
commit f889c38eb6
3 changed files with 88 additions and 86 deletions

View File

@@ -316,18 +316,8 @@ function CommandLine() //{{{
"Items which are completed at the :[tab]open prompt",
"charlist", "sfl",
{
completer: function completer(filter)
{
return [
["s", "Search engines and keyword URLs"],
["f", "Local files"],
["b", "Bookmarks"],
["h", "History"],
["l", "Firefox location bar entries (bookmarks and history sorted in an intelligent way)"],
["S", "Suggest engines"]
];
},
validator: function validator(value) !/[^sfbhSl]/.test(value)
completer: function completer(filter) [k for each (k in completion.urlCompleters)],
validator: function validator(value) value in completion.urlCompleters
});
options.add(["history", "hi"],