branch: master commit f5942e965144836dbd0d1a98da8a23e0ea7ab894 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
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)