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
➜ Multiple Note Styles on the same line
|
Multiple Note Styles on the same line
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| AdInfinitum
(74 posts) Bio
|
| Date
| Sun 22 Nov 2015 08:17 AM (UTC) |
| Message
| I know of NoteStyle(), but as far as I can tell, that is a line-by-line situation. What I'm looking for is something that will display the following:
bold text italics bold text
on one line.
Is there such a function available, or at least a the ability to pull off such a stunt? I know in z/CMUD I was able to use html tags, but I'm unaware of it being an option here. Thank you! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sun 22 Nov 2015 08:23 PM (UTC) |
| Message
| You can use AnsiNote in conjunction with ANSI to do that:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Sun 22 Nov 2015 08:24 PM (UTC) |
| Message
| | You could also use NoteStyle in conjunction with Tell (or ColourTell) to change the style for part of the line. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| AdInfinitum
(74 posts) Bio
|
| Date
| Reply #3 on Sun 22 Nov 2015 08:57 PM (UTC) |
| Message
| Perfect. I'd forgotten about ColourTell, though I didn't even know NoteStyle would work that way. I prefer ColourTell/NoteStyle because I'm using HTML colors for a themed-display of stats.
Thanks! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #4 on Mon 23 Nov 2015 05:16 AM (UTC) |
| Message
| | Glad I could help. All output is done as style runs, there is no style in particular for a whole line. Thus it is possible to change the colour, bold, italic, etc. for every letter if you wanted to. |
- 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.
20,930 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top