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

[REBOL] Re: Multiline text in face?

From: robert:muench:robertmuench at: 19-Sep-2002 9:18

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] > On Behalf Of G. Scott Jones > Sent: Wednesday, September 18, 2002 4:31 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Multiline text in face? > As was mentioned after this post of yours, 'as-is is a VID word.
Hi, yes I know but...
> My guess is that you are looking to make custom faces, > instead of just VID, and are trying to figure out how to get > the 'as-is effect of multi-line printing.
... That's exactly what I try to do :-)). Well, I thought my posting that I use a face was clear about this.
> I suspect that > there is a way to do this purely in View (without VID), but I > suspect that you will be re-inventing the wheel to some > extent.
That could be. What I do is I'm playing around with Christian Langenreiters code of touchgraph. And there the nodes are implemented as faces because these are just appended to a layout block. The faces carry around all that's needed. So, IIRC the 'text value of a face is the text you will see on screen, right? It's not the VID text word. And I don't think that I can assign a layout block that uses VID words to this text property, right?
> ;do a throw away 'layout inorder to get a > ;default text face using 'as-is > layout [ > t: text as-is mytext > ]
:-) That's smart! I'm going to try it, thanks! Robert