diff options
| author | Kim F. Storm | 2004-11-13 01:42:56 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-11-13 01:42:56 +0000 |
| commit | 3b8370e18bc4b13ec80f9a8c196381aa0a8383ff (patch) | |
| tree | 2350c3b4889f16465d1abd72e2fe4416374f154c /admin | |
| parent | 0e18f366ff4108db4a120b879b7b3b0fa07ba2e5 (diff) | |
| download | emacs-3b8370e18bc4b13ec80f9a8c196381aa0a8383ff.tar.gz emacs-3b8370e18bc4b13ec80f9a8c196381aa0a8383ff.zip | |
Add bug:
** Partial highlighting of wrapped overlay
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/FOR-RELEASE | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 4c2084af24c..609074efd3c 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -124,6 +124,32 @@ fit-window-to-buffer works well for me, so I guess | |||
| 124 | Electric-pop-up-window can use it. | 124 | Electric-pop-up-window can use it. |
| 125 | 125 | ||
| 126 | 126 | ||
| 127 | ** Partial highlighting of wrapped overlay | ||
| 128 | |||
| 129 | From: Ralf Angeli <angeli@iwi.uni-sb.de> | ||
| 130 | Date: Mon, 18 Oct 2004 19:09:19 +0200 | ||
| 131 | |||
| 132 | If you put | ||
| 133 | |||
| 134 | (let* ((length (+ (- (window-width) (current-column)) 40)) | ||
| 135 | (start (point)) | ||
| 136 | (end (+ (point) length)) | ||
| 137 | (string (make-string length ?x)) | ||
| 138 | ov) | ||
| 139 | (insert string) | ||
| 140 | (setq ov (make-overlay start end)) | ||
| 141 | (overlay-put ov 'mouse-face 'highlight) | ||
| 142 | (overlay-put ov 'display string)) | ||
| 143 | |||
| 144 | into the *scratch* buffer and type `C-x C-e' with point at the last | ||
| 145 | parenthesis, you will get a string which does not fit into the line | ||
| 146 | and has to be wrapped. If you move over it with your mouse, you | ||
| 147 | should see that only the part on the second line is being highlighted. | ||
| 148 | The full string is highlighted only if the 'display property is not | ||
| 149 | set. | ||
| 150 | |||
| 151 | |||
| 152 | |||
| 127 | * DOCUMENTATION | 153 | * DOCUMENTATION |
| 128 | 154 | ||
| 129 | ** Document Custom Themes. | 155 | ** Document Custom Themes. |