@Override
	public boolean applyTo(Program p, TaskMonitor taskMonitor) {
		this.monitor = taskMonitor;
		this.program = p;
		boolean wasEnabled = program.isSendingEvents();
		try {
			program.setEventsEnabled(sendIndividualEvents);
			return doApplyTo();
		}
		finally {
			program.setEventsEnabled(wasEnabled);
			program = null;
			monitor = null;
		}
	}
Clears over the given range, <b>clearing only code</b>.  To clear other items,
use {@link #ClearCmd(AddressSetView,ClearOptions)}.

@param view the addresses over which to clear
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/clear/ClearCmd.java