Calculates an edit from the "old text is a prefix of new text" (append scenario)
static TextEdit fromAppend(int oldLength, int newLength) { return TextEdit(oldLength, oldLength, newLength); }