Wow! That is great! Thank you so much. I didn't know about "as-is" flag. Is it undocumented?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf = Of Anton Rolls Sent: Wednesday, January 21, 2009 4:58 PM To: [email protected] Subject: [REBOL] Re: How to put return in view facets Hi, Yes, ^/ is a newline character, as you can see: newline ;=3D3D=3D3D #"^/" You can use AS-IS to prevent the LABEL init from trimming the text of line breaks and extra spaces. eg. view layout [label as-is "line-1^/line-2"] So the line breaks now appear as expected. You can see where the trimming happens here: print mold svv/vid-styles/label/init Other text styles are affected by AS-IS in exactly the same way. They are (probably) all found and listed by this code: foreach [style face] svv/vid-styles [ if find mold face/init "as-is" [print style] ] Regards, Anton. =3DDEemseddin Moldibi [ Bircom ] wrote: > Hi, > I'm using View 2.7.6, how do I put a return (newline) char in a label, = =3D =3D3D > vtext etc.? >=3D20 > REBOL [] > view layout [label "test1^/test2"] >=3D20 > ^/ doesn't mean new line? --=20 To unsubscribe from the list, just send an email to=20 lists at rebol.com with unsubscribe as the subject. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
