diff options
| author | Eli Zaretskii | 2010-04-19 18:35:15 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-04-19 18:35:15 +0300 |
| commit | 940afb597e2c898bfa1d00b7797515528eb139c8 (patch) | |
| tree | c21638d7ecdcd6ba91296fb9eacccb9b1a126c39 /src/dispextern.h | |
| parent | c80fa13c0d799fda7b8141875a78b877d0e526fc (diff) | |
| download | emacs-940afb597e2c898bfa1d00b7797515528eb139c8.tar.gz emacs-940afb597e2c898bfa1d00b7797515528eb139c8.zip | |
Improve commentary regarding redisplay.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 00da256c43e..b0a072f71f8 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2222,13 +2222,22 @@ struct it | |||
| 2222 | MODE_LINE_FACE_ID, etc, depending on what we are displaying. */ | 2222 | MODE_LINE_FACE_ID, etc, depending on what we are displaying. */ |
| 2223 | int base_face_id; | 2223 | int base_face_id; |
| 2224 | 2224 | ||
| 2225 | /* If what == IT_CHARACTER, character and length in bytes. This is | 2225 | /* If `what' == IT_CHARACTER, the character and the length in bytes |
| 2226 | a character from a buffer or string. It may be different from | 2226 | of its multibyte sequence. The character comes from a buffer or |
| 2227 | the character displayed in case that | 2227 | a string. It may be different from the character displayed in |
| 2228 | unibyte_display_via_language_environment is set. | 2228 | case that unibyte_display_via_language_environment is set. |
| 2229 | 2229 | ||
| 2230 | If what == IT_COMPOSITION, the first component of a composition | 2230 | If `what' == IT_COMPOSITION, the first component of a composition |
| 2231 | and length in bytes of the composition. */ | 2231 | and length in bytes of the composition. |
| 2232 | |||
| 2233 | If `what' is anything else, these tow are undefined (will | ||
| 2234 | probably hold values for the last IT_CHARACTER or IT_COMPOSITION | ||
| 2235 | traversed by the iterator. | ||
| 2236 | |||
| 2237 | The values are updated by get_next_display_element, so they are | ||
| 2238 | out of sync with the value returned by IT_CHARPOS between the | ||
| 2239 | time set_iterator_to_next advances the position and the time | ||
| 2240 | get_next_display_element loads the new values into c and len. */ | ||
| 2232 | int c, len; | 2241 | int c, len; |
| 2233 | 2242 | ||
| 2234 | /* If what == IT_COMPOSITION, iterator substructure for the | 2243 | /* If what == IT_COMPOSITION, iterator substructure for the |