emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: Partial highlighting of wrapped overlay]


From: Richard Stallman
Subject: address@hidden: Partial highlighting of wrapped overlay]
Date: Tue, 28 Dec 2004 23:38:34 -0500

This bug has not been fixed.  Could someone please look at it,
and ack to me?

------- Start of forwarded message -------
X-Injected-Via-Gmane: http://gmane.org/
Mail-Followup-To: address@hidden
To: address@hidden
From: Ralf Angeli <address@hidden>
Date: Mon, 18 Oct 2004 19:09:19 +0200
X-Gmane-NNTP-Posting-Host: iwi190.iwi.uni-sb.de
Mail-Copies-To: nobody
Cancel-Lock: sha1:8OK78HzrmBQpLrZfoNEbpnRq2Ec=
Subject: Partial highlighting of wrapped overlay
Sender: address@hidden
X-Spam-Status: No, hits=0.0 required=5.0
        tests=RCVD_IN_ORBS,USER_AGENT_GNUS_UA
        version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

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.

- -- 
Ralf



_______________________________________________
Emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------




reply via email to

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