]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfr1.C
character2.diff.gz
[lyx.git] / src / lyxfr1.C
index 909bf3ff93bd762a8745e331b45a419d61e1bb63..f6d575f7427ea3a3857f5ec10b2c9647a9ea5194 100644 (file)
@@ -82,7 +82,7 @@ void SetSelectionOverLenChars(BufferView * bv, int len)
        bv->text->sel_cursor = bv->text->cursor;
        for (int i = 0; i < len; ++i)
                bv->text->CursorRight(bv);
-       bv->text->SetSelection();
+       bv->text->SetSelection(bv);
 }
 
 
@@ -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);