public String getSelectedText() {
		if (cursorField == null) {
			return null;
		}
		return cursorField.getSelectedText();

	}
Returns either null if the field is not selected or the full field text if it is selected.
@return either null if the field is not selected or the full field text if it is selected
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java