diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-04 08:12:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 08:12:29 +0200 |
commit | b5d2d0a9a502416a03f303fc30bee8a7ec8e93e2 (patch) | |
tree | 754f5946625e043fedbdb83503e52d2c9fbe3159 /core | |
parent | 0f5e575d6026ff4f6d8a4d28fbd8e7eca77aeef5 (diff) | |
parent | 52a7be4eefbafcc983766bd80a87752b678c1c17 (diff) |
Merge pull request #10939 from neikeq/fix-overridden-external-editors
Fixes language overridden external editors
Diffstat (limited to 'core')
-rw-r--r-- | core/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index 342d8c8072..2261737f9a 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -206,6 +206,7 @@ public: virtual int find_function(const String &p_function, const String &p_code) const = 0; virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const = 0; 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; } |