/[emacs]/emacs/lispref/text.texi
ViewVC logotype

Diff of /emacs/lispref/text.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.74 by harder, Fri Apr 16 16:42:35 2004 UTC revision 1.75 by kfstorm, Wed Sep 22 23:06:39 2004 UTC
# Line 2974  Consecutive characters with the same @co Line 2974  Consecutive characters with the same @co
2974  @code{beginning-of-line} stop moving at a field boundary.  @code{beginning-of-line} stop moving at a field boundary.
2975  @xref{Fields}.  @xref{Fields}.
2976    
2977    @item cursor
2978    @kindex cursor @r{(text property)}
2979    Normally, the cursor is displayed at the end of any overlay and text
2980    property string that may be present at the current window position.
2981    The cursor may be placed on any character of such strings by giving
2982    that character a non-@code{nil} @var{cursor} text property.
2983    
2984    @item pointer
2985    @kindex pointer @r{(text property)}
2986    This specifies a specific pointer shape when the mouse pointer is over
2987    this text or image.  See the variable @var{void-area-text-pointer}
2988    for possible pointer shapes.
2989    
2990    @item line-height
2991    @kindex line-height @r{(text property)}
2992    A newline may have @code{line-height} text or overlay properties that
2993    controls the height of the corresponding display row.
2994    
2995    If the @code{line-height} property value is @samp{0}, the newline does
2996    not contribute to the height of the display row; instead the height of
2997    the newline glyph is reduced.  Also, a @code{line-spacing} property on
2998    this newline is ignored.  This can be used to tile small images or
2999    image slices without adding blank areas between the images.
3000    
3001    If the @code{line-height} property value is a positive integer, the
3002    value specifies the minimum line height in pixels.  If necessary, the
3003    line height it increased by increasing the line's ascent.
3004    
3005    If the @code{line-height} property value is a floating point number,
3006    the minimum line height is calculated by multiplying the default frame
3007    line height by the given value.
3008    
3009    If the @code{line-height} property value is a cons @code{(@var{ratio}
3010    . @var{face})}, the minimum line height is calculated as @var{ratio} *
3011    height of named face @var{face}.  The @var{ ratio} is an integer or a
3012    floating point number.  If @var{face} is @code{t}, it specifies the
3013    current face.
3014    
3015    @item line-spacing
3016    @kindex line-spacing @r{(text property)}
3017    A newline may also have a @code{line-spacing} text or overlay
3018    properties that controls the height of the corresponding display row.
3019    
3020    If the @code{line-spacing} property value is an positive integer, the
3021    value is used as additional pixels to insert after the display line;
3022    this overrides the default frame line-spacing and any buffer local
3023    value of the @var{line-spacing} variable.
3024    
3025    If the @code{line-spacing} property is a floating point number or
3026    cons, the line spacing is calculated as specified above for the
3027    @code{line-height} property.
3028    
3029    If the @code{line-spacing} value is a cons @code{(total . @var{spacing})}
3030    where @var{spacing} is any of the forms described above, the value of
3031    @var{spacing} is used as the total height of the line, i.e. a varying
3032    number of pixels are inserted after each line to make each line
3033    exactly that many pixels high.
3034    
3035    Using the @code{line-spacing} property overrides the buffer local
3036    @var{line-spacing} variable.  That value of that variable may be an
3037    integer that specifies a number of pixels, or a floating point
3038    number which gives the spacing relative to the default frame line height.
3039    
3040  @item modification-hooks  @item modification-hooks
3041  @cindex change hooks for a character  @cindex change hooks for a character
3042  @cindex hooks for changing a character  @cindex hooks for changing a character

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26