Mercurial > emacs
comparison src/ChangeLog @ 111912:d566763f152d
Fix crash with invisible text and overlays (Bug#7016).
* src/dispextern.h (struct it): New member overlay_strings_charpos.
* src/xdisp.c (next_overlay_string, load_overlay_strings): Record the
charpos where we computed n_overlay_strings.
(next_overlay_string): Load overlay strings at recorded position,
which may not be the same as the iterator's charpos (Bug#7016).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 06 Dec 2010 01:54:52 -0500 |
parents | 662b605247a4 |
children | f01ecb2cea43 |
comparison
equal
deleted
inserted
replaced
111911:00650384dc02 | 111912:d566763f152d |
---|---|
1 2010-12-06 Chong Yidong <cyd@stupidchicken.com> | |
2 | |
3 * dispextern.h (struct it): New member overlay_strings_charpos. | |
4 | |
5 * xdisp.c (next_overlay_string, load_overlay_strings): Record the | |
6 charpos where we computed n_overlay_strings. | |
7 (next_overlay_string): Load overlay strings at recorded position, | |
8 which may not be the same as the iterator's charpos (Bug#7016). | |
9 | |
1 2010-12-05 Jan Djärv <jan.h.d@swipnet.se> | 10 2010-12-05 Jan Djärv <jan.h.d@swipnet.se> |
2 | 11 |
3 * nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background | 12 * nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background |
4 with cursor color and draw a rectangle around the image (Bug#7412). | 13 with cursor color and draw a rectangle around the image (Bug#7412). |
5 | 14 |