You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fixed inserting text at caret not updating scrollbar size
This commit is contained in:
@@ -4071,6 +4071,7 @@ void TextEdit::_insert_text_at_cursor(const String &p_text) {
|
|||||||
|
|
||||||
int new_column, new_line;
|
int new_column, new_line;
|
||||||
_insert_text(cursor.line, cursor.column, p_text, &new_line, &new_column);
|
_insert_text(cursor.line, cursor.column, p_text, &new_line, &new_column);
|
||||||
|
_update_scrollbars();
|
||||||
cursor_set_line(new_line);
|
cursor_set_line(new_line);
|
||||||
cursor_set_column(new_column);
|
cursor_set_column(new_column);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user