public static String getFieldSelectionText(FieldSelection selection, FieldPanel panel) {
		if (!isStringSelection(selection)) {
			return null;
		}
		return getTextForField(selection.getFieldRange(0), panel);
	}
Gets the selected text that pertains to an individual field.  Null is returned if the
given selection spans more than one field.
@param selection the selection
@param panel the field panel
@return the text
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldSelectionHelper.java