Bug: Unexpected format with tags and wordwrap
Posted: Fri Feb 11, 2011 05:13
For example:
[colour='FFFF0000']Test[colour='FFFFFFFF']123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa456
With proper width of a line, this line should be wrapped and displayed like:
Test123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa456
But, it's actually looked like:
Test123
123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa456
The second line is not continued with the first line. When I removed formatting tag, it looked well though.
Tested on CEGUI-0.7.5
[colour='FFFF0000']Test[colour='FFFFFFFF']123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa456
With proper width of a line, this line should be wrapped and displayed like:
Test123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa456
But, it's actually looked like:
Test123
123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa456
The second line is not continued with the first line. When I removed formatting tag, it looked well though.
Tested on CEGUI-0.7.5