[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 6c579f7000 13/24: Add new test, for the previou
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/company 6c579f7000 13/24: Add new test, for the previous |
|
Date: |
Mon, 6 Nov 2023 09:57:37 -0500 (EST) |
branch: externals/company
commit 6c579f700003157f90ed37320c8c02853b6cd889
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Add new test, for the previous
---
test/frontends-tests.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/test/frontends-tests.el b/test/frontends-tests.el
index 907e78ed83..3aeb526969 100644
--- a/test/frontends-tests.el
+++ b/test/frontends-tests.el
@@ -495,6 +495,16 @@
(company-modify-line str "zz" (* 4 (frame-char-width)))
"-*-fzzbar"))))
+(ert-deftest company-modify-line-with-prettify ()
+ (with-temp-buffer
+ (insert "lambda foo bar")
+ (setq-local prettify-symbols-alist '(("lambda" . ?λ)))
+ (prettify-symbols-mode)
+ (font-lock-ensure (point-min) (point-max))
+ (should (equal
+ (company-modify-line (buffer-string) "zz" (* 3
(frame-char-width)))
+ "lambda fzz bar"))))
+
(ert-deftest company-scrollbar-bounds ()
(should (equal nil (company--scrollbar-bounds 0 3 3)))
(should (equal nil (company--scrollbar-bounds 0 4 3)))
- [elpa] externals/company updated (66201465a9 -> 4301ea14c5), ELPA Syncer, 2023/11/06
- [elpa] externals/company 4ac63de5d8 06/24: Do a bit less consing, ELPA Syncer, 2023/11/06
- [elpa] externals/company 934a525112 09/24: Add a FIXME, ELPA Syncer, 2023/11/06
- [elpa] externals/company a6a27340e3 08/24: company-safe-pixel-substring: Handle characters near eol better, ELPA Syncer, 2023/11/06
- [elpa] externals/company 8a53285ca0 01/24: Try to handle widths of CJK characters better, ELPA Syncer, 2023/11/06
- [elpa] externals/company 8b516c547c 12/24: Handle 'invisible' and character composition by using a buffer again, ELPA Syncer, 2023/11/06
- [elpa] externals/company 315741353e 05/24: Restore compatibility with Emacs < 29, ELPA Syncer, 2023/11/06
- [elpa] externals/company 9805c7a37d 03/24: Eliminate some repeat calls, ELPA Syncer, 2023/11/06
- [elpa] externals/company 57b6414a3a 14/24: Merge branch 'master' into cjk-string-width, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6c579f7000 13/24: Add new test, for the previous,
ELPA Syncer <=
- [elpa] externals/company ec51f51b22 04/24: Define company-safe-pixel-substring to do more accurate popup positioning, ELPA Syncer, 2023/11/06
- [elpa] externals/company d19d7a7ae7 23/24: Fix CI in Emacs 29, ELPA Syncer, 2023/11/06
- [elpa] externals/company 705af6470b 17/24: Fix an edge case, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6206db868a 18/24: Rewrite company-safe-pixel-substring to make more tests pass in batch, ELPA Syncer, 2023/11/06
- [elpa] externals/company 44dbc23679 07/24: Fix edge case, ELPA Syncer, 2023/11/06
- [elpa] externals/company 5173cc9693 21/24: Fix CI in Emacs 28-, ELPA Syncer, 2023/11/06
- [elpa] externals/company a1ef2a06a0 20/24: Update NEWS, ELPA Syncer, 2023/11/06
- [elpa] externals/company 7a4bc77e1c 16/24: company-pseudo-tooltip-show: Slight performance improvement, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6ff9f054cb 22/24: More fixing of tests, ELPA Syncer, 2023/11/06
- [elpa] externals/company f6b7bc5c35 10/24: Add handling of buffer-invisibility-spec to company-safe-pixel-substring, ELPA Syncer, 2023/11/06