CompletionContext.getWord

string getWord()

Gets the word that is being completed up to the position of the insert mark.

Returns

a string containing the current word