diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2016-03-26 22:02:33 +0000 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2016-03-26 22:03:27 +0000 |
commit | cd07badee3c198d295354f4e35b6bdc73622dbcc (patch) | |
tree | f3172f1fb666ac60317aea873ef94e8c3d153ee0 | |
parent | 15d1fca0614ad87fd16fa7532e4db867b342d00e (diff) |
Fixed numbers not highlighting after space
-rw-r--r-- | scene/gui/text_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index c9dd2dacf9..f5e1c82300 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -44,7 +44,7 @@ static bool _is_text_char(CharType c) { static bool _is_symbol(CharType c) { - return c!='_' && ((c>='!' && c<='/') || (c>=':' && c<='@') || (c>='[' && c<='`') || (c>='{' && c<='~') || c=='\t'); + return c!='_' && ((c>='!' && c<='/') || (c>=':' && c<='@') || (c>='[' && c<='`') || (c>='{' && c<='~') || c=='\t' || c==' '); } static bool _is_char(CharType c) { |