TextStyleRanges
A collection of text style ranges.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the TextStyleRange.
TextStyleRange item( Mixed index )
Returns the TextStyleRange with the specified index or name.
Parameters
TextStyleRange itemByRange( Mixed from, Mixed to )
Returns the TextStyleRanges within the specified range.
Parameters
TextStyleRange firstItem()
Returns the first TextStyleRange in the collection.
TextStyleRange lastItem()
Returns the last TextStyleRange in the collection.
TextStyleRange middleItem()
Returns the middle TextStyleRange in the collection.
TextStyleRange previousItem( TextStyleRange obj )
Returns the TextStyleRange with the index previous to the specified index.
Parameters
TextStyleRange nextItem( TextStyleRange obj )
Returns the TextStyleRange whose index follows the specified TextStyleRange in the collection.
Parameters
TextStyleRange anyItem()
Returns any TextStyleRange in the collection.
TextStyleRange everyItem()
Returns every TextStyleRange in the collection.
String toSource()
Generates a string which, if executed, will return the TextStyleRange.
TextStyleRange []( Number index )
Returns the TextStyleRange with the specified index.