[REBOL] Re: colour of text-list/picked
From: rotenca:telvia:it at: 13-Feb-2002 0:48
>I'm too tired to probe through my text-list object or the documentation
available here and there. Can anyone tell me the path to the colour of the
highlighting of picked elements in a text-list, please?
It is hard-wired in the init field of the styles. It is not simple to change
it for many reasons (binding). Here it is an example:
ly: layout [tl: text-list data ["a" "b"]]
tl/iter/feel: make tl/iter/feel [
redraw: func[f a i] bind [
f/color: either find picked f/text [high-col] [slf/color]
] in tl 'self
Now you can also change the high-col var to change the color.
You could also change the init field of the style. But it is more complex.
P.S. If you don't know it, try AnaMonitor to look in the vid objects.