|
patryn Apprentice
Joined: 26 Sep 2001 Posts: 124
|
Posted: Thu Mar 08, 2007 9:29 am
%ansi colour and braces |
Please feel free to point me in the right direction if I shouldn't really be posting things like this on here. I imagine there must be a thread somewhere where something like this has already been brought up but I haven't been able to locate it.
It seems that ansi colours all turn grey if the coloured sentence is surrounded by braces. Also some trouble with the usage of // for comments
Below is a few examples to show what i mean exactly
Code: |
#Show {%ansi( red)Logon Mode%ansi( white): On.} //comment
#Show %ansi( red)Logon Mode%ansi( white): On.
#Show %ansi( red)Logon Mode%ansi( white): On. //comment |
The first line will return 'Logon Mode: On' in all grey.
The second line will return 'Logon Mode: On' coloured properly
The third line will return 'Logon Mode: On /comment/comment' coloured properly |
|
_________________ That which does not kill us, makes us stronger. |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Thu Mar 08, 2007 10:10 am |
The main direction, for bugs, is to put the version of CMUD in the subject so that we can easily see what version it applies too. Normally bug reports are posted to the Beta forum and not General Discussion (but nevermind - Zugg will see it anyway).
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Mar 08, 2007 3:25 pm |
Works fine if you remove the spaces from the %ansi function. The comment thing is still broken, though.
|
|
|
|
patryn Apprentice
Joined: 26 Sep 2001 Posts: 124
|
Posted: Thu Mar 08, 2007 11:20 pm |
Ah thanks very much. It was Cmud v1.25
Removing the spaces does indeed sort everything out.
I will post in the Beta Forum from now on |
|
_________________ That which does not kill us, makes us stronger. |
|
|
|
|
|