]> git.eshelyaron.com Git - emacs.git/commitdiff
(Special Properties): Clarify line-spacing and line-height.
authorRichard M. Stallman <rms@gnu.org>
Tue, 28 Sep 2004 15:25:12 +0000 (15:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 28 Sep 2004 15:25:12 +0000 (15:25 +0000)
lispref/ChangeLog
lispref/text.texi

index 5fc2af015a4204a840cae2f1d7cc471eb7730194..8c25fe6c5315a15487d7fee1594c07237b3348cc 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-28  Richard M. Stallman  <rms@gnu.org>
+
+       * text.texi (Special Properties): Clarify line-spacing and line-height.
+
+       * searching.texi (Regexp Search): Add looking-back.
+
 2004-09-25  Luc Teirlinck  <teirllm@auburn.edu>
 
        * display.texi: Correct typos.
index 82763db496c6bd865cd418d639e90193808f3bab..caa3f21b7b1cd3b72b1a0a9016ce949d04cbeed6 100644 (file)
@@ -2989,12 +2989,11 @@ for possible pointer shapes.
 
 @item line-spacing
 @kindex line-spacing @r{(text property)}
-A newline can have a @code{line-spacing} text or overlay property
-that controls the height of the corresponding display line.
-@c ???  Which display line is "corresponding"?
-The @code{line-spacing} property overrides the default frame line
-spacing and the buffer local @code{line-spacing} variable.  We will
-call the property value @var{line-spacing}.
+A newline can have a @code{line-spacing} text or overlay property that
+controls the height of the display line ending with that newline.  The
+property value overrides the default frame line spacing and the buffer
+local @code{line-spacing} variable.  We will call the property value
+@var{line-spacing}.
 
 If @var{line-spacing} is a positive integer, the value specifies
 additional vertical space, below the display line, in pixels.
@@ -3012,18 +3011,13 @@ is equivalent to using the @code{line-height} property.
 @item line-height
 @kindex line-height @r{(text property)}
 A newline can have a @code{line-height} text or overlay property that
-controls the total height of the corresponding display line.
-@c ???  Which display line is "corresponding"?
+controls the total height of the display line ending in that newline.
 We will call the property value @var{line-height}.
 
-If @var{line-height} is 0, the newline does not contribute to the
-height of the display row; instead the height of the newline glyph is
-reduced.
-@c ??? That is not clear.  Reduced how much?
-In that case, any @code{line-spacing} property on
-this newline is ignored.  This can be used to tile small images or
-image slices without adding blank areas between the images.
-@c ??? Precisely which of these features does ``this'' mean?
+If @var{line-height} is 0, the height of the line is determined solely
+from its contents; nothing is added.  Any @code{line-spacing} property
+on this newline is ignored.  This case is useful for tiling small
+images or image slices without adding blank areas between the images.
 
 If @var{line-height} is a positive integer, the value specifies the
 minimum line height in pixels.  The line's ascent height is