diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-24 00:06:56 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-08-24 00:06:56 -0300 |
commit | 36e0a72c77348d4a1f2195937dff8dba88f7e044 (patch) | |
tree | a3e798e46199c18f729ab9c692dde990e3c3250b /scene/gui/text_edit.h | |
parent | 3d1c03187132677800b7f6bc609eeef8fe51f315 (diff) |
-Code completion for enumerations
-Disabled GDNative and GDNativeScript so build compiles again
Diffstat (limited to 'scene/gui/text_edit.h')
-rw-r--r-- | scene/gui/text_edit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index 6321cad2da..7ab26322e7 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -205,6 +205,7 @@ class TextEdit : public Control { Vector<String> completion_strings; Vector<String> completion_options; bool completion_active; + bool completion_forced; String completion_current; String completion_base; int completion_index; @@ -522,7 +523,7 @@ public: void set_tooltip_request_func(Object *p_obj, const StringName &p_function, const Variant &p_udata); void set_completion(bool p_enabled, const Vector<String> &p_prefixes); - void code_complete(const Vector<String> &p_strings); + void code_complete(const Vector<String> &p_strings, bool p_forced = false); void set_code_hint(const String &p_hint); void query_code_comple(); |