diff options
author | lupoDharkael <izhe@hotmail.es> | 2019-04-16 22:27:13 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-04-16 22:27:13 +0200 |
commit | 145a45fd3f15b3d7929e5e702b8828186fed34fb (patch) | |
tree | 77cc3f3b341aa53afbe262453980b57de08cd9db /editor | |
parent | 1e2b3ac407a39b6dc4b2835bfed86f50c7e71ddc (diff) |
Fix code completion not working with class_name
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index c586985957..7832981eef 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -603,7 +603,7 @@ void ScriptTextEditor::_code_complete_script(const String &p_code, List<String> base = _find_node_for_script(base, base, script); } String hint; - Error err = script->get_language()->complete_code(p_code, script->get_path().get_base_dir(), base, r_options, r_force, hint); + Error err = script->get_language()->complete_code(p_code, script->get_path(), base, r_options, r_force, hint); if (err == OK && hint != "") { code_editor->get_text_edit()->set_code_hint(hint); } |