Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ simple question
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Brett McLennan
(9 posts) Bio
|
Date
| Mon 02 Dec 2002 01:54 PM (UTC) |
Message
| I want to hilight certain text when it comes up not the whole line, who do i do this.
ex.
A really really big sword...it hums softly
how can i highlight just the 'it hums softly'...
| Top |
|
Posted by
| Ovvi
Poland (13 posts) Bio
|
Date
| Reply #1 on Mon 02 Dec 2002 03:26 PM (UTC) |
Message
| Trigger: it hums softly
Enabled,Regular expression
And Change colour :-)
Ovvi
| Top |
|
Posted by
| Brett McLennan
(9 posts) Bio
|
Date
| Reply #2 on Mon 02 Dec 2002 03:32 PM (UTC) |
Message
| its not at the beginning of the line, and i only want it to highlight that part of it....will this actually work? | Top |
|
Posted by
| Ovvi
Poland (13 posts) Bio
|
Date
| Reply #3 on Mon 02 Dec 2002 03:49 PM (UTC) |
Message
| In my opinion should be work. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #4 on Thu 05 Dec 2002 02:49 AM (UTC) |
Message
| Regular expressions will only colour the word (or text) that matches. However if the regular expression matches the whole line, the whole line will be coloured. In your example it should work. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Brett McLennan
(9 posts) Bio
|
Date
| Reply #5 on Sun 08 Dec 2002 03:48 PM (UTC) |
Message
| it does sort of work....the whole line is blue to start, then i want to change the glowing part to yellow, which it does but then the whole line goes to the default grey colour but the end does turn yellow....any way to keep the line at the color it comes in at? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #6 on Sun 08 Dec 2002 07:34 PM (UTC) |
Message
| Huh? Sounds like you have more than one trigger. The line should stay at the colour it arrived at unless you change it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
18,892 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top