mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Fix code completion not working with class_name
This commit is contained in:
parent
1e2b3ac407
commit
145a45fd3f
8 changed files with 12 additions and 12 deletions
|
@ -159,13 +159,13 @@ String PluginScriptLanguage::make_function(const String &p_class, const String &
|
|||
return String();
|
||||
}
|
||||
|
||||
Error PluginScriptLanguage::complete_code(const String &p_code, const String &p_base_path, Object *p_owner, List<String> *r_options, bool &r_force, String &r_call_hint) {
|
||||
Error PluginScriptLanguage::complete_code(const String &p_code, const String &p_path, Object *p_owner, List<String> *r_options, bool &r_force, String &r_call_hint) {
|
||||
if (_desc.complete_code) {
|
||||
Array options;
|
||||
godot_error tmp = _desc.complete_code(
|
||||
_data,
|
||||
(godot_string *)&p_code,
|
||||
(godot_string *)&p_base_path,
|
||||
(godot_string *)&p_path,
|
||||
(godot_object *)p_owner,
|
||||
(godot_array *)&options,
|
||||
&r_force,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue