mirror of
https://github.com/godotengine/godot
synced 2024-09-21 14:18:52 +00:00
Fixed function highlighting with spaces
This commit is contained in:
parent
119cd5d3ff
commit
484f4d8dec
|
@ -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…
Reference in a new issue