private void setupHighlightOptions() {
		ToolOptions opt = tool.getOptions(CATEGORY_BROWSER_FIELDS);
		HelpLocation hl = new HelpLocation("CodeBrowserPlugin", "Cursor_Text_Highlight");

		opt.registerThemeColorBinding(HIGHLIGHT_COLOR_NAME, DEFAULT_HIGHLIGHT_COLOR.getId(), hl,
			"The color to use to highlight text.");
		opt.registerThemeColorBinding(SCOPED_WRITE_HIGHLIGHT_COLOR,
			DEFAULT_SCOPED_WRITE_COLOR.getId(), hl,
			"The color to use for showing a register being written.");
		opt.registerThemeColorBinding(SCOPED_READ_HIGHLIGHT_COLOR,
			DEFAULT_SCOPED_READ_COLOR.getId(), hl,
			"The color to use for showing a register being read.");

		opt.registerOption(SCOPE_REGISTER_OPERAND, true, hl,
			"Enables register scoping for text highlighting." +
				"When a register is highlighted, only its scoped use is highlighted");
		opt.registerOption(DISPLAY_HIGHLIGHT_NAME, true, hl, "Enables cursor text highlighting.");
		opt.registerOption(CURSOR_HIGHLIGHT_BUTTON_NAME,
			GhidraOptions.CURSOR_MOUSE_BUTTON_NAMES.MIDDLE, hl,
			"Selects which mouse button should be used to active cursor text highlighting");

		opt.addOptionsChangeListener(this);

		/////////////////////////////////////////////////////

		displayHighlight = opt.getBoolean(DISPLAY_HIGHLIGHT_NAME, true);
		if (!displayHighlight) {
			setHighlightString(null, null);
		}

		textMatchingHighlightColor = opt.getColor(HIGHLIGHT_COLOR_NAME, DEFAULT_HIGHLIGHT_COLOR);
		scopeWriteHighlightColor =
			opt.getColor(SCOPED_WRITE_HIGHLIGHT_COLOR, DEFAULT_SCOPED_WRITE_COLOR);
		scopeReadHighlightColor =
			opt.getColor(SCOPED_READ_HIGHLIGHT_COLOR, DEFAULT_SCOPED_READ_COLOR);

		/////////////////////////////////////////////////////

		CURSOR_MOUSE_BUTTON_NAMES mouseButton =
			opt.getEnum(CURSOR_HIGHLIGHT_BUTTON_NAME, CURSOR_MOUSE_BUTTON_NAMES.MIDDLE);

		highlightButtonOption = mouseButton.getMouseEventID();

		//////////////////////////////////////////////////////

		scopeRegisterHighlight = opt.getBoolean(SCOPE_REGISTER_OPERAND, true);

		//////////////////////////////////////////////////////

		opt.addOptionsChangeListener(this);
	}
Attempt to identify variable varnodes which correspond to this variable
reference.

@return array of varnodes or null if failed to identify
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/codebrowser/ListingMiddleMouseHighlightProvider.java