Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
 Entire forum ➜ MUSHclient ➜ General ➜ Compile error messages background colour

Compile error messages background colour

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


Posted by Khripunoff   (3 posts)  Bio
Date Sat 02 May 2020 10:41 AM (UTC)
Message
I used the ANSI colour in world configuration to change the background colour (BLACK) to something different, and also added the colour file to the defaults in Global preferences.
But the compile error messages retain the black background,
also the URLs in the welcome message:

(For information and assistance about MUSHclient visit our forum at:
http://www.gammon.com.au/forum/
Can you trust your plugins? See: http://www.gammon.com.au/security)

have black background.

My main issue is with the compile error messages. Is there a way to change their background colour to the one i want?
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Sun 03 May 2020 02:33 AM (UTC)
Message
Quote:
compile error messages

I assume you mean error messages that show when there's a problem with your scripts?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 03 May 2020 04:51 AM (UTC)
Message
These are, to be fair, supposed to be rare events. It is sort of a "development" thing. I didn't really expect people to want to theme Lua error messages into the MUD colour scheme.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 03 May 2020 04:57 AM (UTC)
Message
It looks like those colours are hard coded into the source:


#define SCRIPTERRORFORECOLOUR "orangered"  // "darkorange"
#define SCRIPTERRORBACKCOLOUR "black"
#define SCRIPTERRORCONTEXTFORECOLOUR "burlywood"

...

    pDoc->ColourNote (SCRIPTERRORFORECOLOUR, SCRIPTERRORBACKCOLOUR, strEvent);
    pDoc->ColourNote (SCRIPTERRORFORECOLOUR, SCRIPTERRORBACKCOLOUR, dlg.m_strRaisedBy);
    pDoc->ColourNote (SCRIPTERRORFORECOLOUR, SCRIPTERRORBACKCOLOUR, dlg.m_strCalledBy);
    pDoc->ColourNote (SCRIPTERRORFORECOLOUR, SCRIPTERRORBACKCOLOUR, dlg.m_strDescription);

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Khripunoff   (3 posts)  Bio
Date Reply #4 on Sun 03 May 2020 12:00 PM (UTC)
Message
Just wanted to understand what's causing this, It's really not a biggie.
Thanks for the reply!
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.


13,648 views.

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

Go to topic:           Search the forum


[Go to top] top

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