diff options
author | George Marques <george@gmarqu.es> | 2018-06-05 13:50:21 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2018-07-20 21:55:18 -0300 |
commit | 03746da73f275030832f83373388cb0f248616eb (patch) | |
tree | 6fb76e12980dfa2524df4e15927adc3eff6a2a08 /modules/gdnative/pluginscript/pluginscript_language.cpp | |
parent | a2305cd8b2fccf576ca62634a061b16edd4d6c55 (diff) | |
download | redot-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/gdnative/pluginscript/pluginscript_language.cpp')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_language.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_language.cpp b/modules/gdnative/pluginscript/pluginscript_language.cpp index 8018178bd5..816b0f0cab 100644 --- a/modules/gdnative/pluginscript/pluginscript_language.cpp +++ b/modules/gdnative/pluginscript/pluginscript_language.cpp @@ -108,7 +108,7 @@ Ref<Script> PluginScriptLanguage::get_template(const String &p_class_name, const return script; } -bool PluginScriptLanguage::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 { +bool PluginScriptLanguage::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) const { PoolStringArray functions; if (_desc.validate) { bool ret = _desc.validate( |