diff options
| author | Rémi Verschelde | 2016-04-11 09:53:11 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-04-11 09:53:11 +0200 |
| commit | b6a2459870412d887b2fe3dd1011bf446b5bfe2b (patch) | |
| tree | 7c82f0ecf02b98724f3dd5426227a686581b1a7e | |
| parent | e8a0b2462b11528838ad5890f2146a84a9e70f93 (diff) | |
| parent | 189b3067221831bf116058f06322a5b4f2c49e43 (diff) | |
| download | godot-b6a2459870412d887b2fe3dd1011bf446b5bfe2b.tar.gz godot-b6a2459870412d887b2fe3dd1011bf446b5bfe2b.tar.zst godot-b6a2459870412d887b2fe3dd1011bf446b5bfe2b.zip | |
Merge pull request #4268 from Paulb23/find_replace_undo_redo_fix
Fixed undo redo interaction with find replace
| -rw-r--r-- | tools/editor/code_editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp index 968d02dfa..cf8f40430 100644 --- a/tools/editor/code_editor.cpp +++ b/tools/editor/code_editor.cpp @@ -148,6 +148,7 @@ void FindReplaceDialog::_replace_skip_callback() { void FindReplaceDialog::_replace() { + text_edit->begin_complex_operation(); if (is_replace_all_mode()) { //line as x so it gets priority in comparison, column as y @@ -228,7 +229,7 @@ void FindReplaceDialog::_replace() { _search(); } - + text_edit->end_complex_operation(); } |
