Fixed function highlighting with spaces
This commit is contained in:
parent
119cd5d3ff
commit
484f4d8dec
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue