quote:
Originally posted by Mithrandir
The problem is with short color codes. If you try to color "1" in red for example (code 4), the result will be "41". And there comes the problem: 41 is a color code too
If you try to color ".1" or "blahblahblah 1" in red, it'll work because the first character to be colored is not a number.
I wonder how to solve this problem... I could add a space between the color code and the number, that wouldn't be difficult but if you try to color in red the "1" in "blahblah1", you'll get "blahblah 1"
I could also use the long color code (#FF0000 for example) instead of the short one when the character is a number...
Anyway, I'll try to fix it for the next version
for the moment, please do it manually by copy/pasting and editing the code given by the "Show code" button
The solution is very simple: 041 ("1" in foreground color 4)
Same with background colors, eg: 4,091 ("1" in foreground color 4, background color 9)
In short, put a zero in front of the number if the colornumber is only 1 digit to make it correct (because actually a colorcode consists of 2 digits).