mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fix ScriptTextEditor encapsulation
This commit is contained in:
		
							parent
							
								
									9cda7f7333
								
							
						
					
					
						commit
						c89df816c1
					
				
					 5 changed files with 15 additions and 13 deletions
				
			
		|  | @ -55,6 +55,7 @@ class ScriptTextEditor : public ScriptEditorBase { | |||
| 
 | ||||
| 	GDCLASS(ScriptTextEditor, ScriptEditorBase); | ||||
| 
 | ||||
| 	CodeTextEditor *code_editor; | ||||
| 	RichTextLabel *warnings_panel; | ||||
| 
 | ||||
| 	Ref<Script> script; | ||||
|  | @ -186,12 +187,11 @@ protected: | |||
| 	void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from); | ||||
| 
 | ||||
| public: | ||||
| 	CodeTextEditor *code_editor; | ||||
| 
 | ||||
| 	void _update_connected_methods(); | ||||
| 
 | ||||
| 	virtual void add_syntax_highlighter(SyntaxHighlighter *p_highlighter); | ||||
| 	virtual void set_syntax_highlighter(SyntaxHighlighter *p_highlighter); | ||||
| 	void update_toggle_scripts_button(); | ||||
| 
 | ||||
| 	virtual void apply_code(); | ||||
| 	virtual RES get_edited_resource() const; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Roubinsky
						Yuri Roubinsky