The correct command is get-face
. Get facet should be used for
For the example above, it is fixed by:
view [c: area "hello"] print get-face c
From an explanation from Cyphre: get-face
is intended for the application programmers but get-facet
is intended for style developers because it directly accesses the style internals. If styles are updated it may break code if get-face
is not used. One should avoid using refinements such as /text or /data on faces as it was easy to do in R2
AREA's facet TEXT-EDIT looks like it just stores the initialization, and the state/caret facet objects contain run-time data