Page 1 of 1

Replacing with colour

Posted: 08 Dec 2022 05:34
by Exellinor
When I use

Code: Select all

gwc.connection.replace
, is there a way to make the replaced text red?
thank you. :)

Re: Replacing with colour

Posted: 09 Dec 2022 04:20
by Skythus
I know for sure there is a way to highlight color, if you aren't replacing text:

Code: Select all

gwc.output.color("lightgreen");
will turn matches a light green color.

I would think there would be a way to replace a string and add color but have not used the web client in a long time. You might be able to add that after the replace line!

Re: Replacing with colour

Posted: 09 Dec 2022 08:47
by Drazson
Help around these topics is usually more plentiful in the discord server, plus you can look up numerous previous answers. I'm just noting that as an option!