TextRanges
TextRanges
Section titled “TextRanges”textRanges
Description
Section titled “Description”A collection of TextRange objects.
Properties
Section titled “Properties”TextRanges.length
Section titled “TextRanges.length”textRanges.length
Description
Section titled “Description”The number of elements in the collection.
Number; read-only.
TextRanges.parent
Section titled “TextRanges.parent”textRanges.parent
Description
Section titled “Description”The object’s container.
Object; read-only.
TextRanges.typename
Section titled “TextRanges.typename”textRanges.typename
Description
Section titled “Description”The class name of the referenced object.
String; read-only.
Methods
Section titled “Methods”TextRanges.index()
Section titled “TextRanges.index()”textRanges.index(itemKey)
Description
Section titled “Description”Gets an element from the collection.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
itemKey | String, Number | String or number key |
Returns
Section titled “Returns”TextRanges.removeAll()
Section titled “TextRanges.removeAll()”textRanges.removeAll()
Description
Section titled “Description”Deletes all elements in this collection.
Returns
Section titled “Returns”Nothing.