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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  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] Refresh page


Posted by Khripunoff   (3 posts)  [Biography] 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?
[Go to top] top

Posted by Fiendish   USA  (2,525 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] 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
[Go to top] top

Posted by Khripunoff   (3 posts)  [Biography] 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!
[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.


13,181 views.

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.

[Home]


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 HostDash]