mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Overhaul TextEdit selection.
The caret is now a part of the selection.
This commit is contained in:
parent
6118592c6d
commit
154f727c7a
11 changed files with 709 additions and 519 deletions
|
|
@ -531,7 +531,7 @@ void TextEditor::_text_edit_gui_input(const Ref<InputEvent> &ev) {
|
|||
}
|
||||
}
|
||||
if (!tx->has_selection()) {
|
||||
tx->set_caret_line(row, true, false);
|
||||
tx->set_caret_line(row, true, false, -1);
|
||||
tx->set_caret_column(col);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue