RTEditor/src/main/java/com/onegravity/rteditor/effects/Effect.java
final public List<V> valuesInSelection(RTEditText editor) {
        List<V> result = new ArrayList<V>();

        Selection selection = getSelection(editor);
        List<RTSpan<V>> spans = getSpans(editor.getText(), selection, SpanCollectMode.SPAN_FLAGS);
        for (RTSpan<V> span : spans) {
            result.add( span.getValue() );
        }

        return result;
    }
final public List<V> valuesInSelection(RTEditText editor) {
        List<V> result = new ArrayList<V>();

        Selection selection = getSelection(editor);
        List<RTSpan<V>> spans = getSpans(editor.getText(), selection, SpanCollectMode.SPAN_FLAGS);
        for (RTSpan<V> span : spans) {
            result.add( span.getValue() );
        }

        return result;
    }
final public List < V > valuesInSelection ( RTEditText editor ) { List < V > result = new ArrayList < V > ( ) ; Selection selection = getSelection ( editor ) ; List < RTSpan < V > > spans = getSpans ( editor . getText ( ) , selection , SpanCollectMode . SPAN_FLAGS ) ; for ( RTSpan < V > span : spans ) { result . add ( span . getValue ( ) ) ; } return result ; }
Returns the value(s) of this effect in the currently selected text of the active RTEditText.

@return The returned list, must NEVER be null.
Returns the value ( s ) of this effect in the currently selected text of the active RTEditText .