[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting text properties for strings (or string variables)?
From: |
Kevin Rodgers |
Subject: |
Re: setting text properties for strings (or string variables)? |
Date: |
Wed, 04 Jun 2003 15:05:53 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Florian von Savigny wrote:
That kindles me to ask if there is no function to set the text
properties for a (sub)string. The available functions which set text
properties seem to work only on buffers.
| set-text-properties is a built-in function.
| (set-text-properties START END PROPERTIES &optional OBJECT)
|
| Completely replace properties of text from START to END.
| The third argument PROPERTIES is the new property list.
| The optional fourth argument, OBJECT,
| is the string or buffer containing the text.
^^^^^^^^^^^^^^^^^^^^
| If OBJECT is omitted or nil, it defaults to the current buffer.
| If PROPERTIES is nil, the effect is to remove all properties from
| the designated part of OBJECT.
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>