private List<String> getDisplayLines(boolean htmlFriendly) {
		List<String> lines = new ArrayList<>();

		if (address.isExternalAddress()) {
			return lines;
		}

		int codeUnitStart = codeUnitOffset;
		int codeUnitEnd = codeUnitStart + codeUnitCount - 1;

		CodeUnit containingCodeUnit = getCodeUnitContaining(address);
		CodeUnit codeUnit = containingCodeUnit;

		int codeUnitIndex = 0;
		int count = 0;
		if (codeUnitStart <= 0 && codeUnitEnd >= 0) {
			lines.add(createDisplayString(codeUnit, formatter, htmlFriendly));
			++count;
		}

		while (count < codeUnitCount) {

			// Get next code unit
			if (codeUnitIndex <= 0) {
				if (codeUnitIndex <= codeUnitStart) {
					// switch to the forward direction
					codeUnit = containingCodeUnit;
					codeUnitIndex = 0;
				}
				else {
					// check previous code unit
					codeUnit = getCodeUnitBefore(codeUnit);
					--codeUnitIndex;
				}
			}
			if (codeUnitIndex >= 0) {
				// check next code unit
				codeUnit = getCodeUnitAfter(codeUnit);
				++codeUnitIndex;
			}

			// Generate code-unit representation if needed
			if (codeUnitIndex >= codeUnitStart && codeUnitIndex <= codeUnitEnd) {
				String display = createDisplayString(codeUnit, formatter, htmlFriendly);
				if (codeUnitIndex < 0) {
					lines.add(0, display);
				}
				else {
					lines.add(display);
				}
				++count;
			}
		}

		return lines;
	}
Get the visual representation as HTML for the code unit at or containing the 
address associated with this cell's row

@return the display string
Ghidra/Features/Base/src/main/java/ghidra/util/table/field/CodeUnitTableCellData.java