2
0
Fork 0

Merge pull request #5487 from Paulb23/function_highlighting_issue_5454

Fixed function highlighting with spaces
2.1
Rémi Verschelde 2016-06-30 07:57:31 +07:00 committed by GitHub
commit fcf6977610
1 changed files with 5 additions and 0 deletions

@ -852,6 +852,11 @@ void TextEdit::_notification(int p_what) {
k++;
}
// check for space between name and bracket
while (k < str.length() && (str[k] == '\t' || str[k] == ' ')) {
k++;
}
if (str[k] == '(') {
in_function_name = true;
}