[REBOL] Re: Enage and Select
From: greggirwin:mindspring at: 17-Sep-2003 9:51
As an addendum, because of the way REBOL works, you can actually
access the code for the base function at runtime and modify it if you
want. i.e. if you use SECOND on a function, you get the body of the
function, which you can treat as data.
>> f: get in ctx-text/edit 'engage
>> b: second :f
switch act [
either not-equal? face view*/focal-face [
if not-equal? view*/caret offset-to-caret face event/offset [
if not view*/highlight-start [view*/highlight-start:...
REBOL will let you do almost anything you want. This amount of
flexibility means you sometimes need to think about how you really
want to do things, because there is not just one way in most cases.