private String @NotNull [] getOldLines() {
    createOldFragmentLineSetIfNeeded();
    int offsetDiff = myOffset - myOldFragmentLineSetStart;
    LineIterator lineIterator = myOldFragmentLineSet.createIterator();
    List<String> lines = new ArrayList<>(myOldFragmentLineSet.getLineCount());
    while (!lineIterator.atEnd()) {
      int start = lineIterator.getStart() - offsetDiff;
      int end = lineIterator.getEnd() - lineIterator.getSeparatorLength() - offsetDiff;
      if (start >= 0 && end <= myOldString.length()) {
        lines.add(myOldString.subSequence(start, end).toString());
      }
      lineIterator.advance();
    }
    return lines.isEmpty() ? new String[] {""} : ArrayUtil.toStringArray(lines);
  }
private String @NotNull [] getOldLines()