selects word under cursor if no selection