diff options
| author | Gerd Moellmann | 2000-12-05 21:36:18 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-05 21:36:18 +0000 |
| commit | 4d2036e4c5a1a3ef9005c8f795d4dc48dffbed28 (patch) | |
| tree | eb8f62143a4a434803bf1a88bace8a5a4ac5df22 /src | |
| parent | 4aad61f8aa5db73814efab074a0ae52150aa8283 (diff) | |
| download | emacs-4d2036e4c5a1a3ef9005c8f795d4dc48dffbed28.tar.gz emacs-4d2036e4c5a1a3ef9005c8f795d4dc48dffbed28.zip | |
(struct it): Add face_before_selective_p.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/dispextern.h | 9 |
2 files changed, 17 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 48d3a88a977..93022a9ca1d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -12,6 +12,17 @@ | |||
| 12 | 12 | ||
| 13 | 2000-12-05 Gerd Moellmann <gerd@gnu.org> | 13 | 2000-12-05 Gerd Moellmann <gerd@gnu.org> |
| 14 | 14 | ||
| 15 | * xdisp.c (next_element_from_ellipsis): Save face before selective | ||
| 16 | display in saved_face_id, and set face_before_selective_p. | ||
| 17 | (reseat_1): Reset face_before_selective_p. | ||
| 18 | (append_space, extend_face_to_end_of_line): If iterator's | ||
| 19 | face_before_selective_p is set, use the face from saved_face_id. | ||
| 20 | (extend_face_to_end_of_line): For tty frames, make sure to | ||
| 21 | use the right face id when producing spaces at the end of | ||
| 22 | the line. | ||
| 23 | |||
| 24 | * dispextern.h (struct it): Add face_before_selective_p. | ||
| 25 | |||
| 15 | * keyboard.c (record_char): Don't record identical help-echo | 26 | * keyboard.c (record_char): Don't record identical help-echo |
| 16 | events in recent_keys. | 27 | events in recent_keys. |
| 17 | 28 | ||
diff --git a/src/dispextern.h b/src/dispextern.h index 9b899c2105f..6c31396d6c4 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -19,7 +19,7 @@ along with GNU Emacs; see the file COPYING. If not, write to | |||
| 19 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 20 | Boston, MA 02111-1307, USA. */ | 20 | Boston, MA 02111-1307, USA. */ |
| 21 | 21 | ||
| 22 | /* New redisplay written by Gerd Moellmann <gerd@acm.org>. */ | 22 | /* New redisplay written by Gerd Moellmann <gerd@gnu.org>. */ |
| 23 | 23 | ||
| 24 | #ifndef DISPEXTERN_H_INCLUDED | 24 | #ifndef DISPEXTERN_H_INCLUDED |
| 25 | #define DISPEXTERN_H_INCLUDED | 25 | #define DISPEXTERN_H_INCLUDED |
| @@ -1663,9 +1663,12 @@ struct it | |||
| 1663 | character have been put on the previous line. */ | 1663 | character have been put on the previous line. */ |
| 1664 | unsigned starts_in_middle_of_char_p : 1; | 1664 | unsigned starts_in_middle_of_char_p : 1; |
| 1665 | 1665 | ||
| 1666 | /* If 1, saved_face_id contains the id of the face in front of text | ||
| 1667 | skipped due to selective display. */ | ||
| 1668 | unsigned face_before_selective_p : 1; | ||
| 1669 | |||
| 1666 | /* The ID of the default face to use. One of DEFAULT_FACE_ID, | 1670 | /* The ID of the default face to use. One of DEFAULT_FACE_ID, |
| 1667 | MODE_LINE_FACE_ID, or TOOL_BAR_FACE_ID, depending on what we | 1671 | MODE_LINE_FACE_ID, etc, depending on what we are displaying. */ |
| 1668 | are displaying. */ | ||
| 1669 | int base_face_id; | 1672 | int base_face_id; |
| 1670 | 1673 | ||
| 1671 | /* If what == IT_CHARACTER, character and length in bytes. This is | 1674 | /* If what == IT_CHARACTER, character and length in bytes. This is |