summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-09-03 21:23:36 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-09-03 21:23:36 +0200
commit52a7be4eefbafcc983766bd80a87752b678c1c17 (patch)
tree70b59ef4d7b645d59fc2eaf2fdfb0088a1176d1e /core
parent0b747c29106e0e02f8c9b674cde418a7d270d987 (diff)
Fixes language overridden external editors
Diffstat (limited to 'core')
-rw-r--r--core/script_language.h1
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; }