boolean (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) { int inlayOffset = getInlayOffset(myEditor1, myEditor2, startLine1, startLine2, painter.getType()); polygon = polygon.withAlignedHeight(inlayOffset); } ContainerUtil.addIfNotNull(myPolygons, polygon); return true; }