[REBOL] layout patch
From: antonr::lexicon::net at: 5-Jul-2004 22:47
I have patched LAYOUT to fix the "across after origin"
bug (and related bugs).
I would like to know if anyone patched LAYOUT to fix this
already, and if anyone sees any problems with this patch.
; layout patch to fix "across after origin" bug etc.
use [body rtn word][
body: second :layout
rtn: select body first [rtn:]
word: rtn/4/1 ; example word ('way)
change second rtn bind [(max where max-off)] word
]
The VID dialect words that are closely involved:
return
across
below
origin
guide
So far I haven't seen any problems with the patch, so
I have put it in my user.r to take it for a spin.
I will leave it there until I see a problem.
Example which normally shows the bug:
view layout [origin 10x10 across box red]
Anton.