Fix text_edit drawing incorrect chars when syntax highlighting enabled
This commit is contained in:
parent
2522a43256
commit
a8a0392c12
|
@ -1072,10 +1072,7 @@ 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)
|
break;
|
||||||
continue;
|
|
||||||
else
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool in_search_result = false;
|
bool in_search_result = false;
|
||||||
|
|
Loading…
Reference in New Issue