Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: colorizing text

From: henrikmk::gmail::com at: 21-Aug-2008 18:16

On Thu, Aug 21, 2008 at 2:20 AM, Alan Macleod <> 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