protected int getCurrentOffset() {
    int caretOffset = myEditor.getCaretModel().getOffset();
    CharSequence chars = myEditor.getDocument().getCharsSequence();
    return myParameterInfoControllerData.getHandler().isWhitespaceSensitive() ? caretOffset :
           CharArrayUtil.shiftBackward(chars, caretOffset - 1, WHITESPACE) + 1;
  }
protected int getCurrentOffset()