private int[] getVisualColumnForXInsideFoldRegion(float x) {
    LineLayout layout = myView.getFoldRegionLayout(myFoldRegion);
    for (LineLayout.VisualFragment fragment : layout.getFragmentsInVisualOrder(0)) {
      if (x <= fragment.getEndX()) {
        return fragment.xToVisualColumn(x);
      }
    }
    return new int[] {myFoldRegionColumns, 1};
  }
private int[] getVisualColumnForXInsideFoldRegion(float x)