Text with Style
Volume Number: 4
Issue Number: 5
Column Tag: Forth Forum
Formatted Text with Style
By Jörg Langowski, MacTutor Editorial Board
TextEdit with Style(s)
TextEdit has always been one of the major conveniences of the Macintosh. Life (as
far as programming is concerned) is so much simpler with a standard editing package
that takes care of line break, word wrap, text insertion, justification etc. for you,
instead of having to write it yourself.
One major reason why TextEdit was inadequate for e.g. word processing had
always been that the text style was fixed for one text edit record, i.e. for one piece of
edited text. Changing fonts, boldfacing, or changing the size of only one word or one
phrase in the text was not possible.
The new implementation of TextEdit that is described in IM Vol.V finally
introduces this possibility. TextEdit now recognizes two types of TE records: the old
one, having the same text style all over the text, and a new format where style