private float getXForOffsetInsideFoldRegion(int offset) {
    return offset < myFoldRegion.getEndOffset() ? 0 : getFoldRegionWidthInPixels();
  }
private float getXForOffsetInsideFoldRegion(int offset)