extract autocomplete and add a new findAll for word under cursor