@Override
	public int getSelectionEnd() {
		// field selection is all or nothing, so if selected this will return the end of the text
		// otherwise, return 0 because if selectionStart == selectionEnd means no selection
		if (isSelected) {
			return field.getText().length();
		}
		return 0;
	}
Returns the field associated with this AccessibleField.
@return the field associated with this AccessibleField
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleField.java