mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 21:21:10 +00:00
Merge pull request #6775 from RandomShaper/one-based-col-numbers
Make text column numbers one-based
This commit is contained in:
commit
f3106cddb3
3 changed files with 3 additions and 3 deletions
|
|
@ -1051,7 +1051,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