mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Improved text editor status bar and zooming UX.
This commit is contained in:
		
							parent
							
								
									16d61427ca
								
							
						
					
					
						commit
						9281c441f6
					
				
					 12 changed files with 321 additions and 251 deletions
				
			
		|  | @ -150,6 +150,10 @@ Control *TextEditor::get_base_editor() const { | |||
| 	return code_editor->get_text_editor(); | ||||
| } | ||||
| 
 | ||||
| CodeTextEditor *TextEditor::get_code_editor() const { | ||||
| 	return code_editor; | ||||
| } | ||||
| 
 | ||||
| PackedInt32Array TextEditor::get_breakpoints() { | ||||
| 	return PackedInt32Array(); | ||||
| } | ||||
|  | @ -419,11 +423,11 @@ void TextEditor::_edit_option(int p_op) { | |||
| 			trim_trailing_whitespace(); | ||||
| 		} break; | ||||
| 		case EDIT_CONVERT_INDENT_TO_SPACES: { | ||||
| 			tx->set_indent_using_spaces(true); | ||||
| 			code_editor->set_indent_using_spaces(true); | ||||
| 			convert_indent(); | ||||
| 		} break; | ||||
| 		case EDIT_CONVERT_INDENT_TO_TABS: { | ||||
| 			tx->set_indent_using_spaces(false); | ||||
| 			code_editor->set_indent_using_spaces(false); | ||||
| 			convert_indent(); | ||||
| 		} break; | ||||
| 		case EDIT_TO_UPPERCASE: { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Zi Ye
						Zi Ye