mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Added support for scripts reporting multiple errors to ScriptTextEditor
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
This commit is contained in:
		
							parent
							
								
									0a6a71973e
								
							
						
					
					
						commit
						d0e78c86d7
					
				
					 16 changed files with 163 additions and 63 deletions
				
			
		| 
						 | 
				
			
			@ -317,7 +317,7 @@ public:
 | 
			
		|||
	virtual void get_comment_delimiters(List<String> *p_delimiters) const;
 | 
			
		||||
	virtual void get_string_delimiters(List<String> *p_delimiters) const;
 | 
			
		||||
	virtual Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const;
 | 
			
		||||
	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, List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const;
 | 
			
		||||
	virtual bool validate(const String &p_script, const String &p_path, List<String> *r_functions, List<ScriptLanguage::ScriptError> *r_errors = nullptr, List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const;
 | 
			
		||||
	virtual Script *create_script() const;
 | 
			
		||||
	virtual bool has_named_classes() const;
 | 
			
		||||
	virtual bool supports_builtin_mode() const;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue