Mercurial > emacs
changeset 55130:c4aac1add82f
New line-spacing property on newlines.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 25 Apr 2004 00:42:22 +0000 |
parents | 3d63e56c74bc |
children | 2a263df48184 |
files | etc/NEWS |
diffstat | 1 files changed, 17 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Sat Apr 24 23:42:41 2004 +0000 +++ b/etc/NEWS Sun Apr 25 00:42:22 2004 +0000 @@ -1988,9 +1988,23 @@ *** New function insert-sliced-image inserts a given image as a specified number of evenly sized slices (rows x columns). -*** Trailing newlines no longer contribute to the height of a display -row; instead the height of the newline glyph is reduced. This allows -sliced images to use a height less than the default line height. +** New line-spacing property for newline characters + +A newline may now have a line-spacing text property, that may be used +to control the height of the corresponding display row. + +If the property value is t, the newline does not contribute to the +height of the display row; instead the height of the newline glyph is +reduced. This can be used to tile small images or image slices +without adding blank areas between the images. + +If the property value is an integer, the value is used as additional +space to put after the display line; this overrides the default frame +line-spacing and any buffer local value of the line-spacing variable. + +If the property value is a float, the value is multiplied by the +current height of the display row to determine the additional space +to put after the display line. ** Enhancements to stretch display properties