[REBOL] Re: Multiline text in face?
From: gscottjones:mchsi at: 18-Sep-2002 9:59
Responding to self:
Hi, Self,
From: "G. Scott Jones"
...
> ;give a little more room in main window
> test-face: make face [
> size: 200x200
> ]
> mytext: "Hi^/Rebol"
> ;do a throw away 'layout inorder to get a
> ;default text face using 'as-is
> layout [
> t: text as-is mytext
> ]
> ;paste only the default text face to the main window pane
> test-face/pane: copy to-block t
The line above could be written more simply as:
test-face/pane: :t
> ;check the result
> view/offset test-face 100x100
--Scott Jones