summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2018-06-05 13:50:21 -0300
committerGeorge Marques <george@gmarqu.es>2018-07-20 21:55:18 -0300
commit03746da73f275030832f83373388cb0f248616eb (patch)
tree6fb76e12980dfa2524df4e15927adc3eff6a2a08 /modules/mono/csharp_script.h
parenta2305cd8b2fccf576ca62634a061b16edd4d6c55 (diff)
downloadredot-engine-03746da73f275030832f83373388cb0f248616eb.tar.gz
Add editor highlight for type-safe lines
The line number is hightlighted to indicate that the line contains only type-safe code.
Diffstat (limited to 'modules/mono/csharp_script.h')
-rw-r--r--modules/mono/csharp_script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index df597ba776..7f9732c297 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -292,7 +292,7 @@ public:
virtual Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const;
virtual bool is_using_templates();
virtual void make_template(const String &p_class_name, const String &p_base_class_name, Ref<Script> &p_script);
- /* TODO */ virtual bool validate(const String &p_script, int &r_line_error, int &r_col_error, String &r_test_error, const String &p_path, List<String> *r_functions) const { return true; }
+ /* TODO */ virtual bool validate(const String &p_script, int &r_line_error, int &r_col_error, String &r_test_error, const String &p_path, List<String> *r_functions, Set<int> *r_safe_lines = NULL) const { return true; }
virtual String validate_path(const String &p_path) const;
virtual Script *create_script() const;
virtual bool has_named_classes() const;