Fix text_edit drawing incorrect chars when syntax highlighting enabled
(cherry picked from commit a8a0392c12
)
This commit is contained in:
parent
390dbbbcbd
commit
909a1cced8
|
@ -1009,9 +1009,6 @@ void TextEdit::_notification(int p_what) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((char_ofs + char_margin + char_w) >= xmargin_end) {
|
if ((char_ofs + char_margin + char_w) >= xmargin_end) {
|
||||||
if (syntax_coloring)
|
|
||||||
continue;
|
|
||||||
else
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue