Page 1 of 1

[Klonan] [2.0.73] Multi-line rich-text colors in display panel do not display correctly

Posted: Wed Feb 11, 2026 7:23 pm
by Osmo
изображение.png
изображение.png (113.95 KiB) Viewed 361 times
Judging by the fact that the background width doesn't match the actual text, it seems unintentional
The text is the following:

Code: Select all

[color=red]||
||
||
||
||
||
||
||[/color]
||
||
Expected result would be how it looks on the forum:
||
||
||
||
||
||
||
||

||
||
or for colors to be ignored.

Re: [2.0.73] Multi-line rich-text colors in display panel do not display correctly

Posted: Sat Apr 04, 2026 4:47 am
by Hexcoder
I ran into this when trying to mod the display panel to show all circuit signals using colors for separating red/green.

I suspect the text is first broken into multiple lines if they are too long, only then processing colors, which reveals the codes.
Notably rich text item/signal icons are never broken by the line breaks.

However I also noticed that there is a ~500 character limit which (raw text), which does break icons.
This can be encountered very quickly if spamming icons.


bug2.PNG
bug2.PNG (379.31 KiB) Viewed 145 times

Code: Select all

[color=red]iron plates:
[item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate]
[/color]
iron plates:
[item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=iron-plate][item=irona