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

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

[elpa] 19/31: Highlight last annotation character, too


From: Dmitry Gutov
Subject: [elpa] 19/31: Highlight last annotation character, too
Date: Tue, 18 Mar 2014 05:19:37 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 0a9292c907e45983f54dd7ad28cb8e6bf484bc92
Author: Dmitry Gutov <address@hidden>
Date:   Tue Mar 11 15:25:23 2014 +0200

    Highlight last annotation character, too
---
 company.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/company.el b/company.el
index 0945b9a..5ee3c66 100644
--- a/company.el
+++ b/company.el
@@ -1885,7 +1885,7 @@ Example: \(company-begin-with '\(\"foo\" \"foobar\" 
\"foobarbaz\"\)\)"
                                (1+ (length value))
                              (- width (length annotation)))
                          (length value))))
-         (ann-end (min (+ ann-start (length annotation)) width))
+         (ann-end (min (+ ann-start (length annotation)) (+ margin width)))
          (line (concat left
                        (if (or ann-truncate (not ann-ralign))
                            (company-safe-substring



reply via email to

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