mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Make text column numbers one-based
Make one-based the column number on the code editor
Make one-based the column number for GDScript error messages
Make one-based the column number for shader code error messages
(cherry picked from commit 2f80965845)
			
			
This commit is contained in:
		
							parent
							
								
									f250c0cf50
								
							
						
					
					
						commit
						99d82f3033
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1035,7 +1035,7 @@ void CodeTextEditor::_reset_zoom() { | |||
| void CodeTextEditor::_line_col_changed() { | ||||
| 
 | ||||
| 	line_nb->set_text(itos(text_editor->cursor_get_line() + 1)); | ||||
| 	col_nb->set_text(itos(text_editor->cursor_get_column())); | ||||
| 	col_nb->set_text(itos(text_editor->cursor_get_column() + 1)); | ||||
| } | ||||
| 
 | ||||
| void CodeTextEditor::_text_changed() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Pedro J. Estébanez
						Pedro J. Estébanez