summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorlupoDharkael <izhe@hotmail.es>2019-04-16 22:27:13 +0200
committerlupoDharkael <izhe@hotmail.es>2019-04-16 22:27:13 +0200
commit145a45fd3f15b3d7929e5e702b8828186fed34fb (patch)
tree77cc3f3b341aa53afbe262453980b57de08cd9db /core
parent1e2b3ac407a39b6dc4b2835bfed86f50c7e71ddc (diff)
Fix code completion not working with class_name
Diffstat (limited to 'core')
-rw-r--r--core/script_language.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/script_language.h b/core/script_language.h
index 005e21e2cc..1eace8088a 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -245,7 +245,7 @@ public:
virtual Error open_in_external_editor(const Ref<Script> &p_script, int p_line, int p_col) { return ERR_UNAVAILABLE; }
virtual bool overrides_external_editor() { return false; }
- virtual Error 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) { return ERR_UNAVAILABLE; }
+ virtual Error complete_code(const String &p_code, const String &p_path, Object *p_owner, List<String> *r_options, bool &r_force, String &r_call_hint) { return ERR_UNAVAILABLE; }
struct LookupResult {
enum Type {