public List<V> valuesInSelection(RichEditText editor,int spanType){
  List<V> result=new ArrayList<V>();
  Selection expandedSelection=getExpandedSelection(editor,spanType);
  if (expandedSelection != null) {
    for (    Span<V> span : getSpans(editor.getText(),expandedSelection)) {
      result.add(span.getValue());
    }
  }
  return result;
}

public List < V > valuesInSelection ( RichEditText editor , int spanType ) { List < V > result = new ArrayList < V > ( ) ; Selection expandedSelection = getExpandedSelection ( editor , spanType ) ; if ( expandedSelection != null ) { for ( Span < V > span : getSpans ( editor . getText ( ) , expandedSelection ) ) { result . add ( span . getValue ( ) ) ; } } return result ; }
returns the value of this effect in the current selection .
