diff options
| author | Richard M. Stallman | 1994-04-03 21:32:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-03 21:32:18 +0000 |
| commit | 0b20d25717a1ecae07fa4a841732dc3c4a9b76d4 (patch) | |
| tree | ca0b2de51ee7fefb088af7a2eb71d484f6ef5f42 /src | |
| parent | 4d57802ec98003aae1e2e3c1460048450f049e4f (diff) | |
| download | emacs-0b20d25717a1ecae07fa4a841732dc3c4a9b76d4.tar.gz emacs-0b20d25717a1ecae07fa4a841732dc3c4a9b76d4.zip | |
Comment changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index aed0b65de4d..99c9ba97a77 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -119,7 +119,9 @@ struct frame_glyphs | |||
| 119 | /* highlight[n] != 0 iff line n is highlighted. */ | 119 | /* highlight[n] != 0 iff line n is highlighted. */ |
| 120 | char *highlight; | 120 | char *highlight; |
| 121 | 121 | ||
| 122 | /* Buffer offset of this line's first char. */ | 122 | /* Buffer offset of this line's first char. |
| 123 | This is not really implemented, and cannot be, | ||
| 124 | and should be deleted. */ | ||
| 123 | int *bufp; | 125 | int *bufp; |
| 124 | 126 | ||
| 125 | #ifdef HAVE_X_WINDOWS | 127 | #ifdef HAVE_X_WINDOWS |
| @@ -137,9 +139,30 @@ struct frame_glyphs | |||
| 137 | short *max_ascent; | 139 | short *max_ascent; |
| 138 | #endif /* HAVE_X_WINDOWS */ | 140 | #endif /* HAVE_X_WINDOWS */ |
| 139 | 141 | ||
| 140 | /* A vector indexed by vertical position. | 142 | /* Mapping of coordinate pairs to buffer positions. |
| 141 | Each element is a vector indexed by horizontal position | 143 | This field holds a vector indexed by row number. |
| 142 | giving, for each glyph, the buffer position it corresponds to. */ | 144 | Its elements are vectors indexed by column number. |
| 145 | Each element of these vectors is a buffer position, 0, or -1. | ||
| 146 | |||
| 147 | For a column where the image of a text character starts, | ||
| 148 | the element value is the buffer position of that character. | ||
| 149 | When a window's screen line starts in mid character, | ||
| 150 | the element for the line's first column (at the window's left margin) | ||
| 151 | is that character's position. | ||
| 152 | For successive columns within a multicolumn character, | ||
| 153 | the element is -1. | ||
| 154 | For the column just beyond the last glyph on a line, | ||
| 155 | the element is the buffer position of the end of the line. | ||
| 156 | For following columns within the same window, the element is 0. | ||
| 157 | For rows past the end of the accessible buffer text, | ||
| 158 | the window's first column has ZV and other columns have 0. | ||
| 159 | |||
| 160 | Mode lines and vertical separator lines have 0. | ||
| 161 | |||
| 162 | The column of a window's left margin | ||
| 163 | always has a positive value (a buffer position), not 0 or -1, | ||
| 164 | for each line in that window's interior. */ | ||
| 165 | |||
| 143 | int **charstarts; | 166 | int **charstarts; |
| 144 | 167 | ||
| 145 | /* This holds all the space in the subvectors of the charstarts field. */ | 168 | /* This holds all the space in the subvectors of the charstarts field. */ |