add visual selection under cursor search function