private boolean process(int startLine1, int endLine1, int startLine2, int endLine2,
                            @NotNull Painter painter, boolean withAlignedHeight) {
      if (myLeftInterval.start > endLine1 && myRightInterval.start > endLine2) return true;
      if (myLeftInterval.end < startLine1 && myRightInterval.end < startLine2) return false;

      DividerPolygon polygon = createPolygon(myEditor1, myEditor2, startLine1, endLine1, startLine2, endLine2, painter);
      if (withAlignedHeight && polygon != null) {
        polygon = polygon.withAlignedHeight();
      }

      ContainerUtil.addIfNotNull(myPolygons, polygon);
      return true;
    }
private boolean process(int startLine1, int endLine1, int startLine2, int endLine2,
                            @NotNull Painter painter, boolean withAlignedHeight)