public int getSelectionEnd() {
		if (cursorField == null) {
			return 0;
		}
		return cursorField.getSelectionEnd();
	}
Returns the selection character end index. This is either 0, indicating there is no selection
or the index at the end of the text meaning the entire field is selected.
@return the selection character start index.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java