You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fixed function highlighting with spaces
This commit is contained in:
@@ -852,6 +852,11 @@ void TextEdit::_notification(int p_what) {
|
|||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check for space between name and bracket
|
||||||
|
while (k < str.length() && (str[k] == '\t' || str[k] == ' ')) {
|
||||||
|
k++;
|
||||||
|
}
|
||||||
|
|
||||||
if (str[k] == '(') {
|
if (str[k] == '(') {
|
||||||
in_function_name = true;
|
in_function_name = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user