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

Add Preview highlight group

This commit is contained in:
Kris Maglione
2008-11-27 12:39:42 +00:00
parent 03d58c4cc1
commit 649743b9b0
3 changed files with 5 additions and 10 deletions

View File

@@ -194,7 +194,6 @@ CompletionContext.prototype = {
let lock = {};
this.cache.backgroundLock = lock;
this.incomplete = true;
liberator.dump({name: this.name, length: this.items.length});
let now = Date.now();
liberator.callAsync(this, function () {
let items = this.generate();
@@ -253,9 +252,7 @@ CompletionContext.prototype = {
if (quote)
filtered.forEach(function (item) {
item.unquoted = item.text;
try {
item.text = quote[0] + quote[1](item.text) + quote[2];
} catch(e) { liberator.dump(quote.map(function (x) <>{util.objectToString(x)}</>)) }
})
if (options.get("wildoptions").has("sort"))
filtered.sort(this.compare);