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

[REBOL] Re: How to put return in view facets

From: anton:wilddsl:au at: 22-Jan-2009 1:57

Hi, Yes, ^/ is a newline character, as you can see: newline ;== #"^/" 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. =DEemseddin Moldibi [ Bircom ] wrote: