@Override
	public synchronized void addRange(Address addr1, Address addr2) {
		if (!inTransaction) {
			throw new IllegalStateException("Not in a transaction");
		}
		if (addr1.isMemoryAddress() || addr1.isExternalAddress()) {
			tmpAddrs.addRange(addr1, addr2);
		}
	}
Construct a new ProgramChangeSet.
@param addrMap the address map.
@param numUndos the number of undo change sets to track.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/ProgramDBChangeSet.java