void (int untilLine) { if (baseLine > untilLine) { error(VcsBundle.message("patch.simple.apply.base.line.error", baseLine, untilLine)); } if (untilLine > myLineOffsets.getLineCount()) { error(VcsBundle.message("patch.simple.apply.base.line.total.error", myLineOffsets.getLineCount(), untilLine)); } for (int i = baseLine; i < untilLine; i++) { appendLine(getLineContent(i)); } baseLine = untilLine; }