dgutov pushed a commit to branch master in repository elpa. commit f9c62e5025752a8134d278289f0e75eed498fbc2 Author: Mark Oteiza <mvote...@udel.edu> Date: Mon Aug 4 18:21:55 2014 -0400
Assign a face for the tooltip search string --- company.el | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/company.el b/company.el index ac49892..577049f 100644 --- a/company.el +++ b/company.el @@ -117,6 +117,10 @@ buffer-local wherever it is set." (t (:background "green"))) "Face used for the selection in the tooltip.") +(defface company-tooltip-search + '((default :inherit company-tooltip-selection)) + "Face used for the search string in the tooltip.") + (defface company-tooltip-mouse '((default :inherit highlight)) "Face used for the tooltip item under the mouse.") @@ -2156,7 +2160,7 @@ If SHOW-VERSION is non-nil, show the version in the echo area." (length company-prefix))) (let ((beg (+ margin (match-beginning 0))) (end (+ margin (match-end 0)))) - (add-text-properties beg end '(face company-tooltip-selection) + (add-text-properties beg end '(face company-tooltip-search) line) (when (< beg common) (add-text-properties beg common