Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/0701f48155e4e6dcf939622c0b4592f2a43f5f38
>---------------------------------------------------------------
commit 0701f48155e4e6dcf939622c0b4592f2a43f5f38
Author: Alex Alabuzhev <
alab...@gmail.com>
Date: Fri Dec 26 10:41:22 2025 +0000
Fix block undo in Editor
>---------------------------------------------------------------
0701f48155e4e6dcf939622c0b4592f2a43f5f38
far/editor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/far/editor.cpp b/far/editor.cpp
index d36777a93..6c77bf33f 100644
--- a/far/editor.cpp
+++ b/far/editor.cpp
@@ -3755,7 +3755,7 @@ void Editor::DoSearchReplace(const SearchReplaceDisposition Disposition)
}
}
- if (IsReplaceAll)
+ if (IsReplaceAll && !UndoBlock)
UndoBlock.emplace(this);
if (MsgCode == message_result::first_button || MsgCode == message_result::second_button)