@Override
  public Point getLocation() {
    int startOffset = getStartOffset();
    FoldRegion visibleRegion = myEditor.getFoldingModel().getCollapsedRegionAtOffset(startOffset);
    return visibleRegion == this ? new Point(myEditor.getContentComponent().getInsets().left,
                                             myEditor.visualLineToY(myEditor.offsetToVisualLine(startOffset)))
                                 : null;
  }
@Override
  public Point getLocation()