[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/boxy aa6a077 01/10: Added variable boxy-tooltip-show-fu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/boxy aa6a077 01/10: Added variable boxy-tooltip-show-function |
Date: |
Fri, 15 Oct 2021 10:57:10 -0400 (EDT) |
branch: externals/boxy
commit aa6a07700b3298c60f5a95f8330a8460a6f935f8
Author: Tyler Grinn <tylergrinn@gmail.com>
Commit: Tyler Grinn <tylergrinn@gmail.com>
Added variable boxy-tooltip-show-function
---
boxy.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/boxy.el b/boxy.el
index 7d0cdd2..04c9089 100644
--- a/boxy.el
+++ b/boxy.el
@@ -159,6 +159,11 @@
"Maximum width of all tooltips."
:type 'number)
+;;;; Variables
+
+(defvar boxy-tooltip-show-function #'boxy--tooltip-show
+ "A function which takes a multi-line string and displays it immediately.")
+
;;;; Faces
(defface boxy-default nil
@@ -1607,7 +1612,7 @@ characters if possible."
(current-buffer))
(eq (marker-position marker)
(point)))
- (boxy--tooltip-show content)))))))
+ (funcall boxy-tooltip-show-function content)))))))
(defun boxy--tooltip-show (content)
"Show tooltip with CONTENT at point immediately."
- [elpa] externals/boxy updated (bda3f52 -> 888e78c), ELPA Syncer, 2021/10/15
- [elpa] externals/boxy 7f5d955 04/10: Typo in boxy--add-matching, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy f6bc713 06/10: Refactoring, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy 888e78c 10/10: Merge branch 'next' into 'main', ELPA Syncer, 2021/10/15
- [elpa] externals/boxy 5ff0999 02/10: Add support for chinese characters in tooltip, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy 7a04171 07/10: Added more tooltip test cases, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy a12239a 08/10: Make world dirty after showing tooltip, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy d88b495 03/10: Go to first marker first, then cycle, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy aa6a077 01/10: Added variable boxy-tooltip-show-function,
ELPA Syncer <=
- [elpa] externals/boxy b1a67f1 05/10: Removed boxy--boxes, ELPA Syncer, 2021/10/15
- [elpa] externals/boxy c6f0d05 09/10: Bump version, ELPA Syncer, 2021/10/15