From 0fa0f17190459bb37bfe8752f98cd8b37e689437 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 10 May 2015 07:15:55 +0100 Subject: Search completion; highlight also for default search engine. --- background_scripts/completion.coffee | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'background_scripts') diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 447c47a2..c529f376 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -437,6 +437,8 @@ class SearchEngineCompleter autoSelect: not version2 forceAutoSelect: not version2 highlightTerms: not version2 + # Do not use this entry for vomnibar completion. + highlightCommonMatches: false # Post suggestions and bail if there is no prospect of adding further suggestions. if queryTerms.length == 0 or not haveCompletionEngine @@ -477,6 +479,8 @@ class SearchEngineCompleter relevancy: relavancy *= 0.9 highlightTerms: false insertText: suggestion + # Do use this entry for vomnibar completion. + highlightCommonMatches: true # We keep at least three suggestions (if possible) and at most six. We keep more than three only if # there are enough slots. The idea is that these suggestions shouldn't wholly displace suggestions -- cgit v1.2.3