1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 13:04:12 +01:00

Add crude CSS property completion.

This commit is contained in:
Kris Maglione
2010-09-24 22:06:44 -04:00
parent 7c410ca905
commit 761b95156a
3 changed files with 42 additions and 1 deletions

View File

@@ -279,10 +279,11 @@ const CompletionContext = Class("CompletionContext", {
delete this.cache.filtered;
delete this.cache.filter;
this.cache.rows = [];
this.hasItems = items.length > 0;
this._completions = items;
this.itemCache[this.key] = items;
}
if (this._completions)
this.hasItems = this._completions.length > 0;
if (this.updateAsync && !this.noUpdate)
util.callInMainThread(function () { this.onUpdate(); }, this);
},