code: @Override
  	public String getInputToParse(String completeInput, int offset, int completionOffset) {
  		int fixedOffset = getOffsetIncludingWhitespace(completeInput, offset, Math.min(completeInput.length(), completionOffset));
  		return super.getInputToParse(completeInput, fixedOffset, completionOffset);
  	}
docs: Returns the input to parse including the whitespace left to the cursor position since
  it may be relevant to the list of proposals for whitespace sensitive languages.