aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2004-11-13 01:42:56 +0000
committerKim F. Storm <[email protected]>2004-11-13 01:42:56 +0000
commit3b8370e18bc4b13ec80f9a8c196381aa0a8383ff (patch)
tree2350c3b4889f16465d1abd72e2fe4416374f154c /admin
parent0e18f366ff4108db4a120b879b7b3b0fa07ba2e5 (diff)
Add bug:
** Partial highlighting of wrapped overlay
Diffstat (limited to 'admin')
-rw-r--r--admin/FOR-RELEASE26
1 files changed, 26 insertions, 0 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index 4c2084af24..609074efd3 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -124,6 +124,32 @@ fit-window-to-buffer works well for me, so I guess
Electric-pop-up-window can use it.
+** Partial highlighting of wrapped overlay
+
+From: Ralf Angeli <[email protected]>
+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.