diff options
| author | Kim F. Storm | 2005-01-18 12:46:04 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-01-18 12:46:04 +0000 |
| commit | 87954aeb75e8da1b263d5b0bc69f1e710c3ddec3 (patch) | |
| tree | 06390685067b9c8fae0da5003210eac396537e68 | |
| parent | a348a963d388bd99b572ae2519a408d621a1f384 (diff) | |
| download | emacs-87954aeb75e8da1b263d5b0bc69f1e710c3ddec3.tar.gz emacs-87954aeb75e8da1b263d5b0bc69f1e710c3ddec3.zip | |
Fixed Partial highlighting of wrapped overlay bug
reported by Ralf Angeli.
| -rw-r--r-- | admin/FOR-RELEASE | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index daaeb27b80e..d6d9060dbf1 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -40,8 +40,6 @@ are meaningless. What's that trying to do? | |||
| 40 | 40 | ||
| 41 | * BUGS | 41 | * BUGS |
| 42 | 42 | ||
| 43 | ** Incomplete overlay mouse-face highlight bug (Ralf Angeli, Oct 18) | ||
| 44 | |||
| 45 | ** Ange-ftp should ignore irrelevant IPv6 errors: | 43 | ** Ange-ftp should ignore irrelevant IPv6 errors: |
| 46 | 44 | ||
| 47 | Message-Id: <4121-Tue23Mar2004165249+0100-piet@cs.uu.nl> | 45 | Message-Id: <4121-Tue23Mar2004165249+0100-piet@cs.uu.nl> |
| @@ -153,32 +151,6 @@ interrupting I can get a backtrace, here's an example: | |||
| 153 | Update: Maybe only reveals itself when compiled with GTK+ | 151 | Update: Maybe only reveals itself when compiled with GTK+ |
| 154 | 152 | ||
| 155 | 153 | ||
| 156 | ** Partial highlighting of wrapped overlay | ||
| 157 | |||
| 158 | From: Ralf Angeli <angeli@iwi.uni-sb.de> | ||
| 159 | Date: Mon, 18 Oct 2004 19:09:19 +0200 | ||
| 160 | |||
| 161 | If you put | ||
| 162 | |||
| 163 | (let* ((length (+ (- (window-width) (current-column)) 40)) | ||
| 164 | (start (point)) | ||
| 165 | (end (+ (point) length)) | ||
| 166 | (string (make-string length ?x)) | ||
| 167 | ov) | ||
| 168 | (insert string) | ||
| 169 | (setq ov (make-overlay start end)) | ||
| 170 | (overlay-put ov 'mouse-face 'highlight) | ||
| 171 | (overlay-put ov 'display string)) | ||
| 172 | |||
| 173 | into the *scratch* buffer and type `C-x C-e' with point at the last | ||
| 174 | parenthesis, you will get a string which does not fit into the line | ||
| 175 | and has to be wrapped. If you move over it with your mouse, you | ||
| 176 | should see that only the part on the second line is being highlighted. | ||
| 177 | The full string is highlighted only if the 'display property is not | ||
| 178 | set. | ||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | * DOCUMENTATION | 154 | * DOCUMENTATION |
| 183 | 155 | ||
| 184 | ** Document Custom Themes. | 156 | ** Document Custom Themes. |