@Override
  public int getInsertPositionOffset() {
    InputMethodRequests delegate = getDelegate();
    if (delegate == null) {
      return 0;
    } else {
      return delegate.getInsertPositionOffset();
    }
  }
@Override
  public int getInsertPositionOffset()