Mercurial > emacs
changeset 59621:3cc63cc58421
Fixed Partial highlighting of wrapped overlay bug
reported by Ralf Angeli.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 18 Jan 2005 12:46:04 +0000 |
parents | 1bf354073f0c |
children | 5ec981fa30e5 |
files | admin/FOR-RELEASE |
diffstat | 1 files changed, 0 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/admin/FOR-RELEASE Tue Jan 18 12:41:55 2005 +0000 +++ b/admin/FOR-RELEASE Tue Jan 18 12:46:04 2005 +0000 @@ -40,8 +40,6 @@ * BUGS -** Incomplete overlay mouse-face highlight bug (Ralf Angeli, Oct 18) - ** Ange-ftp should ignore irrelevant IPv6 errors: Message-Id: <4121-Tue23Mar2004165249+0100-piet@cs.uu.nl> @@ -153,32 +151,6 @@ Update: Maybe only reveals itself when compiled with GTK+ -** Partial highlighting of wrapped overlay - -From: Ralf Angeli <angeli@iwi.uni-sb.de> -Date: Mon, 18 Oct 2004 19:09:19 +0200 - -If you put - -(let* ((length (+ (- (window-width) (current-column)) 40)) - (start (point)) - (end (+ (point) length)) - (string (make-string length ?x)) - ov) - (insert string) - (setq ov (make-overlay start end)) - (overlay-put ov 'mouse-face 'highlight) - (overlay-put ov 'display string)) - -into the *scratch* buffer and type `C-x C-e' with point at the last -parenthesis, you will get a string which does not fit into the line -and has to be wrapped. If you move over it with your mouse, you -should see that only the part on the second line is being highlighted. -The full string is highlighted only if the 'display property is not -set. - - - * DOCUMENTATION ** Document Custom Themes.