List<CharSequence> (@NotNull TextMergeChange change, @NotNull List<? extends Document> documents) { return ThreeSide.map(side -> { if (!change.isChange(side) || change.isResolved(side)) return null; int startLine = change.getStartLine(side); int endLine = change.getEndLine(side); if (startLine == endLine) return null; return DiffUtil.getLinesContent(side.select(documents), startLine, endLine); }); }