summaryrefslogtreecommitdiff
path: root/modules/visual_script
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-27 08:15:54 +0200
committerGitHub <noreply@github.com>2017-06-27 08:15:54 +0200
commit72bf46649e55d20a8173e439262b16b28c587372 (patch)
tree57fb3c79b2994a31c1ee7dfe1690525b09148b4a /modules/visual_script
parent460ec3344e652f968ab2ca670a1178ed790ea29f (diff)
parent6687484958412ff0f3bd6d97cbc1fcebc7ae64d2 (diff)
Merge pull request #9360 from GodotExplorer/pr-external-editor-language-check
Better user experience with external text editors.
Diffstat (limited to 'modules/visual_script')
-rw-r--r--modules/visual_script/visual_script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.h b/modules/visual_script/visual_script.h
index 1ccc358342..20a1cf49c5 100644
--- a/modules/visual_script/visual_script.h
+++ b/modules/visual_script/visual_script.h
@@ -571,6 +571,7 @@ public:
virtual bool has_named_classes() const;
virtual int find_function(const String &p_function, const String &p_code) const;
virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const;
+ virtual Error open_in_external_editor(const Ref<Script> &p_script, int p_line, int p_col) { return ERR_UNAVAILABLE; }
virtual void auto_indent_code(String &p_code, int p_from_line, int p_to_line) const;
virtual void add_global_constant(const StringName &p_variable, const Variant &p_value);