mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Allow to undo TextEdit.set_text
This commit is contained in:
parent
201cb8d7ed
commit
3bc0445e05
3 changed files with 16 additions and 13 deletions
|
@ -201,7 +201,6 @@ void TextEditor::reload_text() {
|
|||
int v = te->get_v_scroll();
|
||||
|
||||
te->set_text(text_file->get_text());
|
||||
te->clear_undo_history();
|
||||
te->cursor_set_line(row);
|
||||
te->cursor_set_column(column);
|
||||
te->set_h_scroll(h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue