[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 08/28: Assign a face for the tooltip search string
From: |
Dmitry Gutov |
Subject: |
[elpa] 08/28: Assign a face for the tooltip search string |
Date: |
Wed, 27 Aug 2014 01:26:23 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit f9c62e5025752a8134d278289f0e75eed498fbc2
Author: Mark Oteiza <address@hidden>
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
- [elpa] branch master updated (b6a1a9e -> 2d6cddf), Dmitry Gutov, 2014/08/26
- [elpa] 01/28: company-fill-propertize: tuncate the common part, Dmitry Gutov, 2014/08/26
- [elpa] 03/28: company-dabbrev-minimum-length: change the initvalue and document better, Dmitry Gutov, 2014/08/26
- [elpa] 06/28: Use `window-body-width' instead of the now-alias `window-width', Dmitry Gutov, 2014/08/26
- [elpa] 07/28: company--window-inner-height: remove, use `window-body-height', Dmitry Gutov, 2014/08/26
- [elpa] 02/28: company-dabbrev--search-buffer: Use `syntax-ppss' to get to the beg of str-or-cmt, Dmitry Gutov, 2014/08/26
- [elpa] 04/28: Remove the "download ERT" logic; should be unused at this point, Dmitry Gutov, 2014/08/26
- [elpa] 08/28: Assign a face for the tooltip search string,
Dmitry Gutov <=
- [elpa] 09/28: Merge pull request #164 from holomorph/tooltip-search, Dmitry Gutov, 2014/08/26
- [elpa] 10/28: Mention company-tooltip-search in NEWS, Dmitry Gutov, 2014/08/26
- [elpa] 11/28: Use window-screen-lines when available, Dmitry Gutov, 2014/08/26
- [elpa] 05/28: company--show-inline-p: never ignore case, Dmitry Gutov, 2014/08/26
- [elpa] 12/28: Tweak wording, Dmitry Gutov, 2014/08/26
- [elpa] 13/28: Use `posn-actual-col-row' to determine the current col and row, Dmitry Gutov, 2014/08/26
- [elpa] 14/28: Work around http://debbugs.gnu.org/18285, Dmitry Gutov, 2014/08/26
- [elpa] 16/28: company-buffer-lines: handle multiline display better, Dmitry Gutov, 2014/08/26
- [elpa] 17/28: company-input-noop still seems to be needed in the terminal, Dmitry Gutov, 2014/08/26
- [elpa] 18/28: Skip company-buffer-lines tests in terminal, Dmitry Gutov, 2014/08/26