float offsetToX(int offset) {
      return myDelegate != null
             ? myDelegate.offsetToX(offset - myCurrentStartLogicalLineStart)
             : myFoldRegion != null ? getStartX() + getXForOffsetInsideFoldRegion(offset) : getEndX();
    }
float offsetToX(int offset)