List<DiffFragment> (@NotNull LineFragment lineFragment) { if (lineFragment.getInnerFragments() != null) return lineFragment.getInnerFragments(); int length1 = lineFragment.getEndOffset1() - lineFragment.getStartOffset1(); int length2 = lineFragment.getEndOffset2() - lineFragment.getStartOffset2(); return singletonList(new DiffFragmentImpl(0, length1, 0, length2)); }