Page 1 of 1

How to apply user hilite to selected text

Posted: 2021-04-09 03:19:03
by js
I think a user hilite can be defined like this:

$myHilite = Color.newWithRGB(255, 255, 163)
Set Highlight Color $myHilite

But how can myHilite be applied to the acutal text selection?

Re: How to apply user hilite to selected text

Posted: 2021-04-09 05:45:37
by phspaelti
Try this instead.

Code: Select all

$myHilite = Color.newWithRGB255(255, 252, 163)
Set Highlight Color $myHilite
:wink:

Re: How to apply user hilite to selected text

Posted: 2021-04-09 10:25:41
by js
Thank you Philip!