public int getCaretHeight() {
    synchronized (myLock) {
      initMetricsIfNeeded();
      return myEditor.getSettings().isFullLineHeightCursor()
        ? myLineHeight
        : myLineHeight + myTopOverhang + myBottomOverhang;
    }
  }
public int getCaretHeight()