/[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.56.2.8 by miles, Tue Apr 27 14:08:34 2004 UTC revision 1.56.2.9 by miles, Wed Oct 6 05:21:50 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 strings present at the current window position.  You can
2981    place the cursor on any desired character of these 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-spacing
2991    @kindex line-spacing @r{(text property)}
2992    A newline can have a @code{line-spacing} text or overlay property
2993    that controls the height of the corresponding display line.
2994    @c ???  Which display line is "corresponding"?
2995    The @code{line-spacing} property overrides the default frame line
2996    spacing and the buffer local @code{line-spacing} variable.  We will
2997    call the property value @var{line-spacing}.
2998    
2999    If @var{line-spacing} is a positive integer, the value specifies
3000    additional vertical space, below the display line, in pixels.
3001    
3002    If @var{line-spacing} is a floating point number or cons, the
3003    additional vertical space is the product of @var{line-spacing} and the
3004    default frame line height.
3005    
3006    If the @var{line-spacing} value is a cons @code{(total .
3007    @var{spacing})} where @var{spacing} is any of the forms described
3008    above, the value of @var{spacing} specifies the total displayed height
3009    of the line, regardless of the height of the characters in it.  This
3010    is equivalent to using the @code{line-height} property.
3011    
3012    @item line-height
3013    @kindex line-height @r{(text property)}
3014    A newline can have a @code{line-height} text or overlay property that
3015    controls the total height of the corresponding display line.
3016    @c ???  Which display line is "corresponding"?
3017    We will call the property value @var{line-height}.
3018    
3019    If @var{line-height} is 0, the newline does not contribute to the
3020    height of the display row; instead the height of the newline glyph is
3021    reduced.
3022    @c ??? That is not clear.  Reduced how much?
3023    In that case, any @code{line-spacing} property on
3024    this newline is ignored.  This can be used to tile small images or
3025    image slices without adding blank areas between the images.
3026    @c ??? Precisely which of these features does ``this'' mean?
3027    
3028    If @var{line-height} is a positive integer, the value specifies the
3029    minimum line height in pixels.  The line's ascent height is
3030    increased as necessary to achieve the specified height.
3031    
3032    If @var{line-height} is a floating point number, the minimum line
3033    height is the product of @var{line-height} and the default frame line
3034    height.
3035    
3036    If @var{line-height} is a cons @code{(@var{ratio} . @var{face})}, the
3037    minimum line height is calculated as @var{ratio} times the height of
3038    face @var{face}.  The @var{ratio} is an integer or a floating point
3039    number.  If @var{face} is @code{t}, it refers to the current face.
3040    
3041  @item modification-hooks  @item modification-hooks
3042  @cindex change hooks for a character  @cindex change hooks for a character
3043  @cindex hooks for changing a character  @cindex hooks for changing a character

Legend:
Removed from v.1.56.2.8  
changed lines
  Added in v.1.56.2.9

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