mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Refactor toggling script list
This commit is contained in:
		
							parent
							
								
									f648de1a83
								
							
						
					
					
						commit
						b4c92dbd0e
					
				
					 7 changed files with 33 additions and 14 deletions
				
			
		|  | @ -35,6 +35,7 @@ | |||
| #include "editor/editor_node.h" | ||||
| #include "editor/editor_settings.h" | ||||
| #include "scene/gui/menu_button.h" | ||||
| #include "scene/gui/split_container.h" | ||||
| 
 | ||||
| void TextEditor::add_syntax_highlighter(Ref<EditorSyntaxHighlighter> p_highlighter) { | ||||
| 	ERR_FAIL_COND(p_highlighter.is_null()); | ||||
|  | @ -606,6 +607,7 @@ TextEditor::TextEditor() { | |||
| 	code_editor->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT); | ||||
| 	code_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL); | ||||
| 	code_editor->show_toggle_scripts_button(); | ||||
| 	code_editor->set_toggle_list_control(ScriptEditor::get_singleton()->get_left_list_split()); | ||||
| 
 | ||||
| 	update_settings(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi