X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfr1.C;h=f6d575f7427ea3a3857f5ec10b2c9647a9ea5194;hb=f65b7ff4ab2fe8ad0d9196c231064240e3fde81f;hp=883448250aadc74c59ec8f1d0fc5e476ea0106d3;hpb=16a7d8015e91922b0fb651beb7a5b24101084779;p=lyx.git diff --git a/src/lyxfr1.C b/src/lyxfr1.C index 883448250a..f6d575f742 100644 --- a/src/lyxfr1.C +++ b/src/lyxfr1.C @@ -168,7 +168,7 @@ void LyXFindReplace::SearchReplaceAllCB() bv->hideCursor(); // start at top - bv->text->ClearSelection(); + bv->text->ClearSelection(bv); bv->text->CursorTop(bv); int replace_count = 0; @@ -226,7 +226,7 @@ bool LyXFindReplace::SearchCB(bool fForward) // clear the selection (if there is any) bv->toggleSelection(); - bv->text->ClearSelection(); + bv->text->ClearSelection(bv); // set the new selection SetSelectionOverLenChars(bv, iLenSelected);