+smart function for expanding cursor to word or next word like this