@Override
		protected boolean shouldReplaceTextFieldTextWithSelectedItem(String textFieldText,
				ScriptInfo selectedItem) {

			// This is called when the user presses Enter with a list item selected.  By
			// default, the text field will not replace the text field text if the given item
			// does not match the text.  This is to allow users to enter custom text.  We do
			// not want custom text, as the user must pick an existing script.  Thus, we always
			// allow the replace.
			return true;
		}
Returns true if the value of this editor is valid.  Clients can use this to verify that the
user text is a valid script selection.
@return true if the valid of this editor is valid.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionEditor.java