make sure tab is not visible in RichTextLabel, closes #5079

(cherry picked from commit ef2f6a18d2)
This commit is contained in:
Juan Linietsky 2016-06-11 20:04:00 -03:00 committed by Rémi Verschelde
parent 51330b29ae
commit b06cf23c1a
1 changed files with 2 additions and 0 deletions

View File

@ -374,6 +374,8 @@ if (m_height > line_height) {\
int cw=0;
bool visible = visible_characters<0 || p_char_count<visible_characters;
if (c[i]=='\t')
visible=false;
if (selected) {