private int getFoldingIconY(int visualLine, Icon icon) {
    return (int)(myEditor.visualLineToY(visualLine) + (myEditor.getLineHeight() - icon.getIconHeight()) / 2f + 0.5f);
  }
private int getFoldingIconY(int visualLine, Icon icon)