comparison lisp/utils/text-props.el @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children bcdc7deadc19
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
88 ;;; a custom `paste-function' property on the extents. 88 ;;; a custom `paste-function' property on the extents.
89 ;;; 89 ;;;
90 ;;; shell-font.el and font-lock.el could put-text-property to attach fonts to 90 ;;; shell-font.el and font-lock.el could put-text-property to attach fonts to
91 ;;; the buffer. However, what these packages are interested in is the 91 ;;; the buffer. However, what these packages are interested in is the
92 ;;; efficient extent partitioning behavior which this code exhibits, not the 92 ;;; efficient extent partitioning behavior which this code exhibits, not the
93 ;;; duplicability aspect of it. In fact, either of these packages could be be 93 ;;; duplicability aspect of it. In fact, either of these packages could be
94 ;;; implemented by creating a one-character non-expandable extent for each 94 ;;; implemented by creating a one-character non-expandable extent for each
95 ;;; character in the buffer, except that that would be extremely wasteful of 95 ;;; character in the buffer, except that that would be extremely wasteful of
96 ;;; memory. (Redisplay performance would be fine, however.) 96 ;;; memory. (Redisplay performance would be fine, however.)
97 ;;; 97 ;;;
98 ;;; If these packages were to use put-text-property to make the extents, then 98 ;;; If these packages were to use put-text-property to make the extents, then