diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-03 14:01:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 14:01:07 +0200 |
commit | b9dc2e7e4dd38621ef0dd07d208ffc5468954adb (patch) | |
tree | d32c83f57a61ff9e1e6fa697176d61297fc9f8a8 /modules/gdscript/gdscript.h | |
parent | 0dac4d6db6553a90ed5e9daf06fe3a1cd3e3fb5f (diff) | |
parent | 2ad302cec4dc41db8cbb657b2e1946275967f1c4 (diff) |
Merge pull request #28099 from lupoDharkael/fix-completion
Fix code completion not working with class_name
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 716f536e89..40b773d99f 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -458,9 +458,9 @@ public: virtual bool can_inherit_from_file() { return true; } virtual int find_function(const String &p_function, const String &p_code) const; virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const; - virtual Error complete_code(const String &p_code, const String &p_base_path, Object *p_owner, List<String> *r_options, bool &r_forced, String &r_call_hint); + virtual Error complete_code(const String &p_code, const String &p_path, Object *p_owner, List<String> *r_options, bool &r_forced, String &r_call_hint); #ifdef TOOLS_ENABLED - virtual Error lookup_code(const String &p_code, const String &p_symbol, const String &p_base_path, Object *p_owner, LookupResult &r_result); + virtual Error lookup_code(const String &p_code, const String &p_symbol, const String &p_path, Object *p_owner, LookupResult &r_result); #endif virtual String _get_indentation() const; virtual void auto_indent_code(String &p_code, int p_from_line, int p_to_line) const; |