int function ( CharSequence arg0 ) { if ( arg0 instanceof Spanned ) return ( ( Spanned ) arg0 ) . getSpanStart ( SELECTION_END ) ; else return - 1 ; }
return the offset of the selection edge or cursor , or -1 if there is no selection or cursor . concode_field_sep Object SELECTION_START concode_elem_sep Object SELECTION_END concode_field_sep int getSelectionStart concode_elem_sep void selectAll concode_elem_sep void setSelection concode_elem_sep void setSelection concode_elem_sep void removeSelection concode_elem_sep void extendSelection