Merge pull request #4150 from Paulb23/number_syntax_highlighting

Fixed numbers not highlighting after space
This commit is contained in:
Rémi Verschelde 2016-03-30 12:36:42 +02:00
commit f293503a98

View File

@ -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) {