[REBOL] Re: [text-list] faces

2004-05-12 Thread Carl Read
What's the path to the faces of the text in a text-list? I assume they're a block of faces somewhere in the text-list object? No, sorry, there is no block of face in a text-list. The text-list is one type of face called iterated-face : there is only one subface. The pane is not a face or

[REBOL] Re: [text-list] faces

2004-05-12 Thread Didec
[...] Ah - finally! Never noticed text-pane before. (Which is most strange...) What I was wanting to do was to have different colored lines of text. Can now... view layout [ t: text-list aaa bbb ccc button Change [ repeat line 3 [ face: t/text-pane

[REBOL] Re: [text-list] faces

2004-05-12 Thread Carl Read
Not a perfect solution, because as soon as you click a line, all lines are redisplayed with the last color. As I found out... It can be done by changing the text-pane func itself to let it change the font color or something else. Just take care of that : text-pane must return the iter face

[REBOL] Re: text-list faces

2004-05-11 Thread Dide
What's the path to the faces of the text in a text-list? I assume they're a block of faces somewhere in the text-list object? No, sorry, there is no block of face in a text-list. The text-list is one type of face called iterated-face : there is only one subface. The pane is not a face or a