|
From: | Kevin Rodgers |
Subject: | Re: rendering a string as a new line? |
Date: | Tue, 16 Sep 2003 12:16:59 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Janusz S. Bien' wrote:
I will have to work systematically with Unicode files which happen to use some strange tags to represent new line. Is there a way to render the tags as newlines without explicitly adding the new line characters?
If the tag is a single character, you could set up a display table that has a newline in that character's glyph. If the tag is more than 1 character (e.g. an XML tag), you could put an overlay on it that specifies a before-string or after-string property with a newline. -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |