[REBOL] Re: FACE questions
From: rotenca:telvia:it at: 13-Jan-2003 23:45
Hi,
> From the docs (and that's why I asked): Paragraph facet object
> attributes are applied to entire paragraphs of text for control of
> spatial formatting. They only apply to text rendered within areas, hence
> are not used for free-form text.
para object is in all text styles and all its fields are applied to the
rendering of text.
Styles names are only conventional names used by the Vid dialect.
View does not care of style names.
For View all the face are the same: only different value in specific fields,
like text, color, edge, effect, para and so on generate different visual
effects.
If you want to know what are the fields which View uses (or can use), you can
do:
>> probe sort first system/words/face
[action changes color data edge effect face-flags feel font image line-list
offset old-offset old-size options
pane para parent-face rate saved-area self show? size span text type]
These are the facets common to all faces.
If you want to know what are the standard vid facets, you can do:
>> probe sort exclude first svv/vid-face first system/words/face
[alt-action blinker colors dirty? facets file flags help init keycode multi
pane-size related reset state style
styles texts user-data var words]
As you can see, 'style is the vid list, while 'para is in the View list
---
Ciao
Romano