Compile error messages background colour

Posted by Khripunoff on Sat 02 May 2020 10:41 AM — 5 posts, 20,892 views.

#0
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?
USA Global Moderator #1
Quote:
compile error messages

I assume you mean error messages that show when there's a problem with your scripts?
Australia Forum Administrator #2
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.
Australia Forum Administrator #3
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);
#4
Just wanted to understand what's causing this, It's really not a biggie.
Thanks for the reply!