diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index ac26bc4..d22b9dd 100644 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -1963,7 +1963,7 @@ void MyFrame::OnDialogReplace ( wxFindDialogEvent& event ) start += doc->ReplaceTarget ( event.GetReplaceString() ); } // Move to the next position - doc->SetEmptySelection ( start ); + doc->SetSelection ( start, start ); } OnDialogFind ( event ); }