private void initDetails() {

		l1 = p1.getListing();
		l2 = p2.getListing();

		maxRegisterName = "Register".length(); // default name length.
		for (Register element : p1.getProgramContext().getRegisters()) {
			maxRegisterName = Math.max(maxRegisterName, element.getName().length());
		}
	}
Determine the detailed differences between the two programs at the
indicated address. The differences are determined for the extent of the
code units in the two programs at the indicated address.
@param p1DiffAddress the address that difference details are needed for.
This address should be derived from program1.
@param filter the program diff filter that indicates the diff details to show.
@param doc the document where the details of differences between the two
programs should be written.
@param prefixString Line of text to display at beginning of the difference details information.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramDiffDetails.java