|
From: | Raffaele Ricciardi |
Subject: | Adding a tooltip to text that matches a regexp? |
Date: | Thu, 20 Nov 2014 19:29:07 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
(set-text-properties (match-beginning 0) (match-end 0) '(help-echo "Tooltip text" font-lock-face 'my-custom-face))Can I do this in `font-lock-add-keywords`? If so, how? If not, are there alternative solutions?
Thank you.
[Prev in Thread] | Current Thread | [Next in Thread] |