diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-04 08:38:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 08:38:27 +0200 |
commit | 14d1cfd0daf6db8fdffc0e57540619eff81ac240 (patch) | |
tree | 914511435507d93e8cfafa1f395c5e96d8ae3eb0 /editor/plugins/script_text_editor.cpp | |
parent | 2293c612e6c0913b6999080c9f2fa77227348818 (diff) | |
parent | ed7ed52151a9eca2a60a418881bd7065529acb66 (diff) | |
download | redot-engine-14d1cfd0daf6db8fdffc0e57540619eff81ac240.tar.gz |
Merge pull request #29626 from GodotExplorer/script_more_complete_info
More information for code completion options
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 2cfa759e3b..438621115b 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -773,13 +773,13 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo } } -void ScriptTextEditor::_code_complete_scripts(void *p_ud, const String &p_code, List<String> *r_options, bool &r_force) { +void ScriptTextEditor::_code_complete_scripts(void *p_ud, const String &p_code, List<ScriptCodeCompletionOption> *r_options, bool &r_force) { ScriptTextEditor *ste = (ScriptTextEditor *)p_ud; ste->_code_complete_script(p_code, r_options, r_force); } -void ScriptTextEditor::_code_complete_script(const String &p_code, List<String> *r_options, bool &r_force) { +void ScriptTextEditor::_code_complete_script(const String &p_code, List<ScriptCodeCompletionOption> *r_options, bool &r_force) { if (color_panel->is_visible_in_tree()) return; Node *base = get_tree()->get_edited_scene_root(); |