diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2019-05-17 00:46:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-17 00:46:06 +0200 |
commit | a7a954e30482138b5deb95d0a7462920c0875b33 (patch) | |
tree | 5a1a2549be6dad1ac7b342788a67fa4594d853fa /scene/gui | |
parent | 05cb337f2d2276e43eb2f7bf33362f1e78204aff (diff) | |
parent | a8a0392c12d8a27f8c0f376f67abf7d3a06987df (diff) |
Merge pull request #28945 from Paulb23/28860_incorrect_characters
Fix text_edit drawing incorrect chars when syntax highlighting enabled
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/text_edit.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 10bd9e2a8b..86b99b3c6d 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1072,10 +1072,7 @@ void TextEdit::_notification(int p_what) { } if ((char_ofs + char_margin + char_w) >= xmargin_end) { - if (syntax_coloring) - continue; - else - break; + break; } bool in_search_result = false; |