void setIndexMap(IndexMap map) {
		updatingIndexMap = true;
		indexMap = map;
		if (map != null) {
			// remove fields and recreate them
			bytesPerLine = map.getBytesPerLine();
			createFields();
		}

		ByteBlockSet byteBlockSet = indexMap.getByteBlockSet();
		if (byteBlockSet instanceof ProgramByteBlockSet) {
			blockSet = (ProgramByteBlockSet) indexMap.getByteBlockSet();
		}
		else {
			blockSet = null;
		}
		if (indexUpdate) {
			layoutModel.setIndexMap(indexMap);
		}
		updatingIndexMap = false;
	}
Get the color of unsaved byte changes
@return the color of unsaved byte changes
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java