|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Wed Apr 29, 2009 3:14 pm
Editor in 2.37? |
The background is no longer black and the colors all seem to be stripped from my html file. Is this a bug or a new feature of the Editor? I personally liked having the black background since it best simulated the MUD environment for logging. Now that the black background is gone it looks funky and I'm not sure how to make sure it will save with a black background. In additional, none of the text seems to be retaining its color coding, and remains gray which is hard to see against the new background (and by colors I mean the ones logged by html logging sent from the MUD).
Can someone tell me if this was intentional? IF so, is there a way I can still work with my methods? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Apr 29, 2009 7:53 pm |
Obviously this isn't intentional. The editor colors should be saved to your *.PKG file for your session. Some other colors, like the styles for the syntax highlighting, are stored in the STYLES.INI file. But I'm not having any problem saving any changes to the editor colors here.
Also, in the Editor, if you are loading an HTML file, then a lot of the colors might be getting taken from the HTML file itself. Remember that the editor is not intended as a full HTML viewer/editor. |
|
|
|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Thu Apr 30, 2009 4:48 pm |
It may be related to the issue talked about in the previous thread then.
Edit:
Deleting styles.ini returned the colors, but the background is still gray. |
|
|
|
Aidan88 Beginner
Joined: 18 May 2009 Posts: 11
|
Posted: Mon May 18, 2009 11:15 pm |
I too am having this problem
|
|
|
|
bothkill Apprentice
Joined: 13 Mar 2005 Posts: 125 Location: Bucharest
|
Posted: Tue May 19, 2009 10:41 am |
I was having the same problem.
I had to install Zmud in order to use its Editor. Zmud's Editor is the greatest in keeping the original colours (plus the Black background). Evrything you could wish in reviewing your logs.
They don't make things like they used to! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue May 19, 2009 4:43 pm |
The Editor in CMUD still works fine for normal ANSI text. You set the background color in the Styles page of the Preferences. I have a black background in my Editor window here and it works just fine. The issue with the original poster was that he was loading an HTML file into the editor, which can change the editor colors depending upon the HTML codes in the file.
So just be sure you are not loading an HTML log file into the Editor. zMUD didn't even support HTML log files at all, so I don't see where you can call the Editor in zMUD better than CMUD. If you just have a plain ANSI color log, the editor in CMUD will work just the same as the editor in zMUD. Just turn off the HTML Logging feature for now. Many of the HTML logging issues are being addressed in the 3.x CMUD version. |
|
|
|
bothkill Apprentice
Joined: 13 Mar 2005 Posts: 125 Location: Bucharest
|
Posted: Tue May 19, 2009 11:01 pm |
Granted, it is about ANSI text.
And granted, the colour background may be set as you indicated. Thank you for that.
But as regards the ANSI logged colours, I will present the difference between the mud session window and the editor.
First, I present the logging settings:
The colours as they appear in the mud session window (on-line playing):
And the colours as they appear in the Editor (loading the ANSI log for off-line viewing):
For convenience I will post the ANSI text:
Code: |
[0m> [0m
[0m> > [0mcolour all[0m
[0m yellow----, blue ,---magenta[0m
[0m green----, \ | / ,-cyan[0m
[0m red-----, \ \ | / / ,-white[0m
[0m default \ \ \ | / / / black[0m
[0m V V V V V V V V V[0m
[0munderline---[0m# [0m# [0m# [0m# [0m# [0m# [0m# [0m# [0m# [0m
[0mbold--------[0m# [0m# [0m# [0m# [0m# [0m# [0m# [0m# [0m# [0m
[0mdefault-----[37m# [37;41m# [37;42m# [37;43m# [37;44m# [37;45m# [37;46m# [37;47m# [37;40m# [0m
[0mred---------[31m# [31;41m# [31;42m# [31;43m# [31;44m# [31;45m# [31;46m# [31;47m# [31;40m# [0m
[0mgreen-------[32m# [32;41m# [32;42m# [32;43m# [32;44m# [32;45m# [32;46m# [32;47m# [32;40m# [0m
[0myellow------[33m# [33;41m# [33;42m# [33;43m# [33;44m# [33;45m# [33;46m# [33;47m# [33;40m# [0m
[0mblue--------[34m# [34;41m# [34;42m# [34;43m# [34;44m# [34;45m# [34;46m# [34;47m# [34;40m# [0m
[0mmagenta-----[35m# [35;41m# [35;42m# [35;43m# [35;44m# [35;45m# [35;46m# [35;47m# [35;40m# [0m
[0mcyan--------[36m# [36;41m# [36;42m# [36;43m# [36;44m# [36;45m# [36;46m# [36;47m# [36;40m# [0m
[0mwhite-------[37m# [37;41m# [37;42m# [37;43m# [37;44m# [37;45m# [37;46m# [37;47m# [37;40m# [0m
[0mblack-------[30m# [30;41m# [30;42m# [30;43m# [30;44m# [30;45m# [30;46m# [30;47m# [30;40m# [0m
[0mboldred-----[1;31m# [1;31;41m# [1;31;42m# [1;31;43m# [1;31;44m# [1;31;45m# [1;31;46m# [1;31;47m# [1;31;40m# [0m
[0mboldgreen---[1;32m# [1;32;41m# [1;32;42m# [1;32;43m# [1;32;44m# [1;32;45m# [1;32;46m# [1;32;47m# [1;32;40m# [0m
[0mboldyellow--[1;33m# [1;33;41m# [1;33;42m# [1;33;43m# [1;33;44m# [1;33;45m# [1;33;46m# [1;33;47m# [1;33;40m# [0m
[0mboldblue----[1;34m# [1;34;41m# [1;34;42m# [1;34;43m# [1;34;44m# [1;34;45m# [1;34;46m# [1;34;47m# [1;34;40m# [0m
[0mboldmagenta-[1;35m# [1;35;41m# [1;35;42m# [1;35;43m# [1;35;44m# [1;35;45m# [1;35;46m# [1;35;47m# [1;35;40m# [0m
[0mboldcyan----[1;36m# [1;36;41m# [1;36;42m# [1;36;43m# [1;36;44m# [1;36;45m# [1;36;46m# [1;36;47m# [1;36;40m# [0m
[0mboldwhite---[1;37m# [1;37;41m# [1;37;42m# [1;37;43m# [1;37;44m# [1;37;45m# [1;37;46m# [1;37;47m# [1;37;40m# [0m
[0mboldblack---[1;30m# [1;30;41m# [1;30;42m# [1;30;43m# [1;30;44m# [1;30;45m# [1;30;46m# [1;30;47m# [1;30;40m# [0m |
As can be seen, the bright yellow text "colour all" does not get logged correctly (i.e. the colour code logged is "[0m" while it should have been "[1;33m").
And there are many other inconsistencies with other colour types in the colours table (ex.: underline, bold, boldyellow, boldmagenta, boldblack).
Now, is it possible for the Editor (together with the logging system) to display the ANSI colours as they are originally seen on the mud playing session window? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed May 20, 2009 4:50 pm |
Hmm, that definitely looks like a bug. Somehow the ANSI settings from your MUD window (like the one that tells the main window to Highlight the color instead of making the font bold) aren't getting transferred to the editor window. I'll add this to the bug list. Thanks for the detailed report.
|
|
|
|
|
|