get the word at the caret.