|
XonDK Apprentice
Joined: 01 Dec 2006 Posts: 178
|
Posted: Thu Apr 26, 2007 12:56 pm
[1.30] Converting issue. |
Converting Zmud to Cmud, cmud seems to mis the spacing that zmud added in many things such as %ansi() triggers
zmud: I believe its pretty print's fault.
%ansi( 15)
works fine
Cmud:
%ansi( 15) doesn't work
%ansi(15) works
Also note this also affect some %if situations. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Apr 26, 2007 4:12 pm |
I think this was supposed to be fixed in one of the 1.2x versions. I can't get it to fail just on the command line - it could be something to do with the specific script you're running. If you post the whole thing, we might be able to reproduce the bug.
|
|
|
|
XonDK Apprentice
Joined: 01 Dec 2006 Posts: 178
|
Posted: Thu Apr 26, 2007 4:19 pm script |
%ansi( 15)Last hit:%ansi( yellow, green) @lasthit
Will not work in status window, might be only in status window this problem exists though |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Apr 26, 2007 4:21 pm |
Confirmed that it's not colouring properly. I thought this was fixed, though :S
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Apr 26, 2007 4:32 pm |
I posted about that here.
|
|
_________________ Asati di tempari! |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Apr 26, 2007 5:40 pm |
They're separate issues, Tech. "%ansi(red)test" works in the status window. "%ansi( red)test" doesn't, and I thought that bug was fixed.
|
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Thu Apr 26, 2007 5:52 pm |
Try %ansi( "red")test
This is not just in the status window btw. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Apr 26, 2007 5:59 pm |
Entering "#show %ansi( red)test" works on the command line. I think that was the part of the bug that was fixed. Entering "%ansi( red)test" into a status window item doesn't work - it works without the space, so there's no need to quote it like that (though that does work). It's just that Reformatting the script adds the space back in.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Apr 26, 2007 6:39 pm |
Confirmed that this doesn't work in the status bar. Also confirmed that the background color of status bar items is getting messed up. I'll add this to the bug list again. I think the previous fix was only tested on the command line. Not sure why it doesn't work in the status bars, but it means that the parser isn't handling the spaces when parsing functions in string expressions, so it might show up in other situations too.
|
|
|
|
XonDK Apprentice
Joined: 01 Dec 2006 Posts: 178
|
Posted: Fri Apr 27, 2007 8:43 pm |
Zugg wrote: |
Confirmed that this doesn't work in the status bar. Also confirmed that the background color of status bar items is getting messed up. I'll add this to the bug list again. I think the previous fix was only tested on the command line. Not sure why it doesn't work in the status bars, but it means that the parser isn't handling the spaces when parsing functions in string expressions, so it might show up in other situations too. |
seems to affect some %if situations, not too sure on where and when seems to be rather random |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Apr 27, 2007 8:52 pm |
Yes, if a space doesn't work with %ansi, then it's likely a problem with *any* function call (including %if)
|
|
|
|
|
|