Fixed undo redo interaction with find replace
(cherry picked from commit 189b306722
)
This commit is contained in:
parent
b5a438413a
commit
e367c6cdd8
|
@ -148,6 +148,7 @@ void FindReplaceDialog::_replace_skip_callback() {
|
||||||
|
|
||||||
void FindReplaceDialog::_replace() {
|
void FindReplaceDialog::_replace() {
|
||||||
|
|
||||||
|
text_edit->begin_complex_operation();
|
||||||
if (is_replace_all_mode()) {
|
if (is_replace_all_mode()) {
|
||||||
|
|
||||||
//line as x so it gets priority in comparison, column as y
|
//line as x so it gets priority in comparison, column as y
|
||||||
|
@ -228,7 +229,7 @@ void FindReplaceDialog::_replace() {
|
||||||
|
|
||||||
_search();
|
_search();
|
||||||
}
|
}
|
||||||
|
text_edit->end_complex_operation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue