darken the selected text by the search function