emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master f5942e9 55/66: company-fill-propertize: Don't highlight ma


From: Dmitry Gutov
Subject: [elpa] master f5942e9 55/66: company-fill-propertize: Don't highlight match beg till common part
Date: Tue, 13 Jan 2015 02:45:05 +0000

branch: master
commit f5942e965144836dbd0d1a98da8a23e0ea7ab894
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-fill-propertize: Don't highlight match beg till common part
    
    It's more confusing than useful. We already highlight the common part.
---
 company.el |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/company.el b/company.el
index a92f837..2d1c9d1 100644
--- a/company.el
+++ b/company.el
@@ -2184,11 +2184,7 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
           (let ((beg (+ margin (match-beginning 0)))
                 (end (+ margin (match-end 0))))
             (add-text-properties beg end '(face company-tooltip-search)
-                                 line)
-            (when (< beg common)
-              (add-text-properties beg common
-                                   '(face company-tooltip-common-selection)
-                                   line)))
+                                 line))
         (add-text-properties 0 width '(face company-tooltip-selection
                                        mouse-face company-tooltip-selection)
                              line)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]