spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java
public void deselectAllSpans() {
        mBlockCompletion = true;
        Editable text = getText();
        MentionSpan[] spans = text.getSpans(0, text.length(), MentionSpan.class);
        for (MentionSpan span : spans) {
            if (span.isSelected()) {
                span.setSelected(false);
                updateSpan(span);
            }
        }
        mBlockCompletion = false;
    }
public void deselectAllSpans() {
        mBlockCompletion = true;
        Editable text = getText();
        MentionSpan[] spans = text.getSpans(0, text.length(), MentionSpan.class);
        for (MentionSpan span : spans) {
            if (span.isSelected()) {
                span.setSelected(false);
                updateSpan(span);
            }
        }
        mBlockCompletion = false;
    }
public void deselectAllSpans ( ) { mBlockCompletion = true ; Editable text = getText ( ) ; MentionSpan [ ] spans = text . getSpans ( 0 , text . length ( ) , MentionSpan . class ) ; for ( MentionSpan span : spans ) { if ( span . isSelected ( ) ) { span . setSelected ( false ) ; updateSpan ( span ) ; } } mBlockCompletion = false ; }
Deselects any spans in the editor that are currently selected.
Deselects any spans in the editor that are currently selected .