Hi,

Yes, ^/ is a newline character, as you can see:

        newline  ;=3D=3D #"^/"

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:
> Hi,
> I'm using View 2.7.6, how do I put a return (newline) char in a label, =
=3D
> vtext etc.?
>=20
> REBOL []
> view layout [label "test1^/test2"]
>=20
> ^/ doesn't mean new line?

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to