public void setCurrentHighlight(AddressSetView addressSet) {
		if (addressSet == null || addressSet.isEmpty()) {
			this.currentHighlight = null;
		}
		else {
			this.currentHighlight = new ProgramSelection(addressSet);
		}
		state.setCurrentHighlight(currentHighlight);
	}
Sets the highlight state to the given address set.
<p>
The actual behavior of the method depends on your environment, which can be GUI or
headless:
<ol>
		<li>In the GUI environment this method will set the {@link #currentHighlight}
			variable to the given value, update the {@link GhidraState}'s highlight variable,
			<b>and</b> will set the Tool's highlight to the given value.</li>
		<li>In the headless environment this method will set the {@link #currentHighlight}
			variable to	the given value and update the GhidraState's highlight variable.</li>
</ol>

@param addressSet the set of addresses to include in the highlight.  If this value is null,
the current highlight will be cleared and the variables set to null.
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java