[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Trigger to change color, but keep font style as-is
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Trigger to change color, but keep font style as-is

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by Ulenspiegel   (4 posts)  [Biography] bio
Date Tue 27 Jun 2017 01:02 PM (UTC)

I wonder if there's a way to make a trigger that would change color of the line, but would leave other attributes of arriving text - such as bold and/or underline - intact? My case is, a text arrives from the server with some fragments underlined, bold or colored. I'm highlighting whole line in certain color in a trigger - but that seems to be stripping bold/underline attributes along the way. (Better yet, I would rather color the line and then reapply original attributes, including server-colored pieces to override my highlighting, but I suspect it'd be quite involved.)
[Go to top] top

Posted by WillFa   USA  (525 posts)  [Biography] bio
Date Reply #1 on Wed 28 Jun 2017 12:05 AM (UTC)

And the parts about Style Runs.

You'll basically have to omit/send to script after omit, and use NoteStyle and ColourNote to reprint the line as you'd like it to appear.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]