Gets the word that is being completed up to the position of the insert mark.
a CompletionContext
a string containing the current word