getInitialSelectedText

Gets the selected text, if any. May be null when no text is selected or the selected text is way too long.

Return

the text that is currently selected, if any. It could be an empty string when there is no text selected. When null is returned, the selected text might be too long or this protocol is not supported.

Parameters

editorInfo

the editor with which to get the text.

flags

Supplies additional options controlling how the text is returned. May be either 0 or GET_TEXT_WITH_STYLES.