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

Fix :bmarks, etc. Fix oversized completion tables.

This commit is contained in:
Kris Maglione
2008-11-24 22:52:24 +00:00
parent aad7a5667a
commit 5ee5f8ef2f
4 changed files with 48 additions and 40 deletions

View File

@@ -152,13 +152,15 @@ CompletionContext.prototype = {
set filter(val) this._filter = val,
get format() ({
title: this.title,
keys: this.keys,
process: this.process
}),
set format(format)
{
this.keys = format.keys;
this.process = format.process;
this.title = format.title || this.title;
this.keys = format.keys || this.keys;
this.process = format.process || this.process;
},
get items()
@@ -883,7 +885,7 @@ function Completion() //{{{
return {
// FIXME
get getKey() this._getKey || function (item, key) item[{ text: 0, description: 1, icon: 2}[key]],
get getKey() this._getKey || function (item, key) item[{ text: 0, description: 1, icon: 2 }[key]],
set getKey(getKey) this._getKey = getKey,
setFunctionCompleter: function setFunctionCompleter(funcs, completers)