private Highlight[] getOperandDiffHighlights(String text, CodeUnit codeUnit,
			int cursorTextOffset) {
		Address minAddress = codeUnit.getMinAddress();
		AddressSetView unmatchedDiffs = listingDiff.getUnmatchedCode(side);
		if (unmatchedDiffs.contains(minAddress)) {
			return NO_HIGHLIGHTS;
		}
		Color operandDiffsBackgroundColor = comparisonOptions.getOperandDiffsBackgroundColor();
		AddressSetView codeUnitDiffs = listingDiff.getCodeUnitDiffs(side);
		// Get intersection of Code Unit Diff addresses and this code unit's addresses
		AddressSet diffSet = new AddressSet(codeUnit.getMinAddress(), codeUnit.getMaxAddress());
		diffSet = diffSet.intersect(codeUnitDiffs);
		if (!diffSet.isEmpty()) {
			CodeUnit matchingCodeUnit = listingDiff.getMatchingCodeUnit(codeUnit, side);
			if (listingDiff.doesEntireOperandSetDiffer(codeUnit, matchingCodeUnit)) {
				return entireTextHighlight(text, cursorTextOffset, operandDiffsBackgroundColor);
			}
			List<Range> operandRanges = getOperandRanges(text, codeUnit);
			int numOperands = codeUnit.getNumOperands();
			if (operandRanges.size() != numOperands) {
				return entireTextHighlight(text, cursorTextOffset, operandDiffsBackgroundColor);
			}
			int[] diffOpIndices = listingDiff.getOperandsThatDiffer(codeUnit, matchingCodeUnit);
			ArrayList<Highlight> highlights = new ArrayList<>();
			for (int diffOpIndex : diffOpIndices) {
				// Highlight each operand that differs.
				highlights.add(
					new Highlight(operandRanges.get(diffOpIndex).start,
						operandRanges.get(diffOpIndex).end,
						operandDiffsBackgroundColor));
			}
			return highlights.toArray(new Highlight[highlights.size()]);
		}
		return NO_HIGHLIGHTS;
	}
Constructor for this highlight provider.
@param listingDiff the ListingDiff to use to determine where there are differences that 
need highlighting.
@param side LEFT or RIGHT
false means the highlights are for the second listing.
@param comparisonOptions the tool options that indicate the current 
background colors for the Listing code comparison panel.
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/listing/ListingDiffHighlightProvider.java