colorizing text
[1/2] from: fergus4::bellatlantic::net at: 20-Aug-2008 20:20
Does anyone know of any good examples of colorizing (highlighting) sections
of text within a face. The word browser mentions caret-to-offset and
offset-to-caret being used to map text and creating colored or hyperlinked
text but the example does not seem to be what I'm looking for...
[2/2] from: henrikmk::gmail::com at: 21-Aug-2008 18:16
On Thu, Aug 21, 2008 at 2:20 AM, Alan Macleod <fergus4-bellatlantic.net> wrote:
> Does anyone know of any good examples of colorizing (highlighting) sections
> of text within a face. The word browser mentions caret-to-offset and
> offset-to-caret being used to map text and creating colored or hyperlinked
> text but the example does not seem to be what I'm looking for...
It does indeed say that, but I'm not even sure that's possible without
Cyphre's rich text system for R3, or by using your own rich text
engine. Faces in R2 contain a single string with one single style
defined in the font object inside the face. The only fancy thing you
can do is right or center align text.
--
Regards,
Henrik Mikael Kristensen