public String getDiffDetails(Address p1DiffAddress, ProgramDiffFilter filter) {
		StyledDocument doc = new DefaultStyledDocument();
		getDetails(p1DiffAddress, filter, doc, null);
		String text = null;
		try {
			text = doc.getText(0, doc.getLength());
		}
		catch (BadLocationException e) {
			Msg.error(this,
				"Error getting Diff details for address " + p1DiffAddress.toString() + ".", e);
		}
		return text;
	}
Gets a string indicating the types of differences for the code units at the indicated
address. The string contains information from each program where there are differences.
It containing multiple lines separated by newline characters)
@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.
@return a string indicating the differences.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramDiffDetails.java