@Override
	public void fieldOptionsChanged(Options options, String optionName, Object oldValue,
			Object newValue) {
		if (optionName.equals(MAX_DISPLAY_LINES_KEY)) {
			setMaximumLinesToDisplay(((Integer) newValue).intValue(), options);
		}
		else if (optionName.equals(ENABLE_WORD_WRAP_KEY)) {
			isWordWrap = ((Boolean) newValue).booleanValue();
		}
		else if (optionName.equals(ENABLE_SHOW_SEMICOLON_KEY)) {
			showSemicolon = ((Boolean) newValue).booleanValue();
		}
		else if (optionName.equals(EXTRA_COMMENT_KEY)) {
			extraCommentsOption = (EolExtraCommentsOption) newValue;
		}
		else if (optionName.equals(ENABLE_PREPEND_REF_ADDRESS_KEY)) {
			prependRefAddress = ((Boolean) newValue).booleanValue();
		}
	}
Notification that an option changed.
@param options options object containing the property that changed
@param optionName name of option that changed
@param oldValue old value of the option
@param newValue new value of the option
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/EolCommentFieldFactory.java