boolean (DiffDividerDrawUtil.DividerPaintable.@NotNull Handler handler) { if (getChange().isPartiallyExcluded() && getViewer().myAllowExcludeChangesFromCommit) { int startLine1 = myChange.getStartLine(Side.LEFT); int endLine1 = myChange.getEndLine(Side.LEFT); int startLine2 = myChange.getStartLine(Side.RIGHT); int endLine2 = myChange.getEndLine(Side.RIGHT); if (myViewer.needAlignChanges()) { if (startLine1 != endLine1) { if (!handler.processAligned(startLine1, endLine1, startLine2, startLine2, TextDiffType.DELETED)) { return false; } } if (startLine2 != endLine2) { if (!handler.processAligned(endLine1, endLine1, startLine2, endLine2, TextDiffType.INSERTED)) { return false; } } return true; } else { if (startLine1 != endLine1) { if (!handler.processExcludable(startLine1, endLine1, startLine2, startLine2, TextDiffType.DELETED, myChange.isExcluded(), myChange.isSkipped())) { return false; } } if (startLine2 != endLine2) { if (!handler.processExcludable(endLine1, endLine1, startLine2, endLine2, TextDiffType.INSERTED, myChange.isExcluded(), myChange.isSkipped())) { return false; } } return true; } } else { return super.drawDivider(handler); } }