[REBOL] Re: keymap in text style feel/engage
From: brett:codeconscious at: 21-Apr-2002 10:30
> I don't think so, 'view* is defined in ctx-text.
I like your "where?" function - that is going to be very handy. :^)
Anton, the the engage function you are interested in lives in a shared feel
>> same? ctx-text/swipe get in get-style 'text 'feel
>> same? ctx-text/swipe get in get-style 'txt 'feel
>> same? ctx-text/swipe get in get-style 'h1 'feel
>> same? ctx-text/swipe get in get-style 'body 'feel
That is - every style except LABEL that is derived from VTEXT
- see http://www.codeconscious.com/rebsite/vid-ancestry.r
I think if you bind your new modified engage function to "in ctx-text 'self"
find that both view* and keymap will be set correctly. Also for free, you
copy-text and unlight-text set too which you will probably need.