]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfr1.C
character2.diff.gz
[lyx.git] / src / lyxfr1.C
index 883448250aadc74c59ec8f1d0fc5e476ea0106d3..f6d575f7427ea3a3857f5ec10b2c9647a9ea5194 100644 (file)
@@ -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);