Range
Range =
object
Opaque type representing a contiguous region within the content.
Remarks
Section titled “Remarks”Ranges can be obtained from various API methods and then passed to other operations.
Examples:
TextView.searchText- Returns a range for a text matchTextView.setText- Can be used to replace a given rangeTextView.getPlainText- Can be used to extract text at a specific rangeTextView.setFormatting- Can be used to apply formatting to a specific range