void (int oldLine1, int oldLine2, int shift) { UpdatedLineRange newRange = DiffUtil.updateRangeOnModification(myLine1, myLine2, oldLine1, oldLine2, shift); myLine1 = newRange.startLine; myLine2 = newRange.endLine; }