diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2016-04-09 01:27:14 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2016-04-09 01:27:14 +0100 |
commit | 189b3067221831bf116058f06322a5b4f2c49e43 (patch) | |
tree | 5fcae82e1f9b53f15713a1227afb5e1895db1795 /tools/editor/code_editor.cpp | |
parent | d454e64f429affb89de036eed6daa5c6e5278492 (diff) | |
download | redot-engine-189b3067221831bf116058f06322a5b4f2c49e43.tar.gz |
Fixed undo redo interaction with find replace
Diffstat (limited to 'tools/editor/code_editor.cpp')
-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 968d02dfa5..cf8f40430b 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(); } |