Unverified Commit be0da31f by Rémi Verschelde Committed by GitHub

Merge pull request #32628 from Paulb23/issue_32609_set_text_scrollbar

Fixed inserting text at caret not updating scrollbar size
parents 22d100ad e5b18cea
......@@ -4071,6 +4071,7 @@ void TextEdit::_insert_text_at_cursor(const String &p_text) {
int new_column, new_line;
_insert_text(cursor.line, cursor.column, p_text, &new_line, &new_column);
_update_scrollbars();
cursor_set_line(new_line);
cursor_set_column(new_column);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment