Mercurial > emacs
comparison doc/lispref/text.texi @ 96470:2af6e85f13d5
Implement display-time wrap/line-prefix feature
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1305
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 01 Jul 2008 09:39:28 +0000 |
parents | 6d85304f4f12 |
children | f92a9c4d4746 |
comparison
equal
deleted
inserted
replaced
96469:40d413a9e07b | 96470:2af6e85f13d5 |
---|---|
3165 @kindex line-height @r{(text property)} | 3165 @kindex line-height @r{(text property)} |
3166 A newline can have a @code{line-height} text or overlay property that | 3166 A newline can have a @code{line-height} text or overlay property that |
3167 controls the total height of the display line ending in that newline. | 3167 controls the total height of the display line ending in that newline. |
3168 @xref{Line Height}. | 3168 @xref{Line Height}. |
3169 | 3169 |
3170 @item wrap-prefix | |
3171 If text has a @code{wrap-prefix} property, the prefix it defines will | |
3172 be added at display-time to the beginning of every continuation line | |
3173 due to text wrapping (so if lines are truncated, the wrap-prefix is | |
3174 never used). It may be a string, an image, or a stretch-glyph such as | |
3175 used by the @code{display} text-property. @xref{Display Property}. | |
3176 | |
3177 A wrap-prefix may also be specified for an entire buffer using the | |
3178 @code{wrap-prefix} buffer-local variable (however, a | |
3179 @code{wrap-prefix} text-property takes precedence over the value of | |
3180 the @code{wrap-prefix} variable). @xref{Truncation}. | |
3181 | |
3182 @item line-prefix | |
3183 If text has a @code{line-prefix} property, the prefix it defines will | |
3184 be added at display-time to the beginning of every non-continuation | |
3185 line. It may be a string, an image, or a stretch-glyph such as used | |
3186 by the @code{display} text-property. @xref{Display Property}. | |
3187 | |
3188 A line-prefix may also be specified for an entire buffer using the | |
3189 @code{line-prefix} buffer-local variable (however, a | |
3190 @code{line-prefix} text-property takes precedence over the value of | |
3191 the @code{line-prefix} variable). @xref{Truncation}. | |
3192 | |
3170 @item modification-hooks | 3193 @item modification-hooks |
3171 @cindex change hooks for a character | 3194 @cindex change hooks for a character |
3172 @cindex hooks for changing a character | 3195 @cindex hooks for changing a character |
3173 @kindex modification-hooks @r{(text property)} | 3196 @kindex modification-hooks @r{(text property)} |
3174 If a character has the property @code{modification-hooks}, then its | 3197 If a character has the property @code{modification-hooks}, then its |