diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-28 13:35:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 13:35:21 +0200 |
commit | 143d13717bcedd00b457958c563f0ab5d7c93896 (patch) | |
tree | d22b48fbffbf7bcbc2b66da3ae689ae0809d4aed /editor/code_editor.h | |
parent | 31f26f5c58f46c464653070fd1df4b57d0cd6d36 (diff) | |
parent | 360dea5348652d8806d33598e111651afb3d193a (diff) | |
download | redot-engine-143d13717bcedd00b457958c563f0ab5d7c93896.tar.gz |
Merge pull request #59553 from reduz/script-extension-support
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r-- | editor/code_editor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h index d7025e7fd9..bbc45d6ec0 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -134,7 +134,7 @@ public: FindReplaceBar(); }; -typedef void (*CodeTextEditorCodeCompleteFunc)(void *p_ud, const String &p_code, List<ScriptCodeCompletionOption> *r_options, bool &r_forced); +typedef void (*CodeTextEditorCodeCompleteFunc)(void *p_ud, const String &p_code, List<ScriptLanguage::CodeCompletionOption> *r_options, bool &r_forced); class CodeTextEditor : public VBoxContainer { GDCLASS(CodeTextEditor, VBoxContainer); @@ -166,7 +166,7 @@ class CodeTextEditor : public VBoxContainer { void _update_text_editor_theme(); void _complete_request(); - Ref<Texture2D> _get_completion_icon(const ScriptCodeCompletionOption &p_option); + Ref<Texture2D> _get_completion_icon(const ScriptLanguage::CodeCompletionOption &p_option); void _font_resize_timeout(); bool _add_font_size(int p_delta); @@ -197,7 +197,7 @@ class CodeTextEditor : public VBoxContainer { protected: virtual void _load_theme_settings() {} virtual void _validate_script() {} - virtual void _code_complete_script(const String &p_code, List<ScriptCodeCompletionOption> *r_options) {} + virtual void _code_complete_script(const String &p_code, List<ScriptLanguage::CodeCompletionOption> *r_options) {} void _text_changed_idle_timeout(); void _code_complete_timer_timeout(); |