Automatically select word under cursor if selection is empty.