make sure tab is not visible in RichTextLabel, closes #5079
(cherry picked from commit ef2f6a18d2
)
This commit is contained in:
parent
51330b29ae
commit
b06cf23c1a
|
@ -374,6 +374,8 @@ if (m_height > line_height) {\
|
||||||
int cw=0;
|
int cw=0;
|
||||||
|
|
||||||
bool visible = visible_characters<0 || p_char_count<visible_characters;
|
bool visible = visible_characters<0 || p_char_count<visible_characters;
|
||||||
|
if (c[i]=='\t')
|
||||||
|
visible=false;
|
||||||
|
|
||||||
if (selected) {
|
if (selected) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue