private static int findEndOfDistinctLines(DiffLines left, DiffLines right, int start) {
		int end = Math.min(left.size(), right.size());
		for (int i = start; i < end; i++) {
			ValidatableLine line1 = left.get(i);
			ValidatableLine line2 = right.get(i);

			if (line1.matches(line2)) {
				return i;
			}
		}
		return end;
	}
Removes empty rows that are no longer necessary for alignment (it may add new empty rows)
Ghidra/Features/Base/src/main/java/ghidra/app/util/html/diff/DataTypeDiffBuilder.java