bv->hideCursor();
// start at top
- bv->text->ClearSelection();
+ bv->text->ClearSelection(bv);
bv->text->CursorTop(bv);
int replace_count = 0;
// clear the selection (if there is any)
bv->toggleSelection();
- bv->text->ClearSelection();
+ bv->text->ClearSelection(bv);
// set the new selection
SetSelectionOverLenChars(bv, iLenSelected);