mirror of
https://github.com/godotengine/godot.git
synced 2025-02-09 04:11:00 +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 New Issue
Block a user