TextNestedGrepStyles

A collection of nested GREP styles.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → NestedGrepStyle
count(
)
 → number
item(
index)
 → NestedGrepStyle
itemByRange(
from, to)
 → NestedGrepStyle
toSource(
)
 → string
add(
[withProperties])
 → NestedGrepStyle
Creates a new NestedGrepStyle.
withProperties Object Initial values for properties of the new NestedGrepStyle (Optional)
anyItem(
)
 → NestedGrepStyle
Returns any NestedGrepStyle in the collection.
count(
)
 → number
Displays the number of elements in the NestedGrepStyle.
everyItem(
)
 → NestedGrepStyle
Returns every NestedGrepStyle in the collection.
firstItem(
)
 → NestedGrepStyle
Returns the first NestedGrepStyle in the collection.
item(
index)
 → NestedGrepStyle
Returns the NestedGrepStyle with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByRange(
from, to)
 → NestedGrepStyle
Returns the NestedGrepStyles within the specified range.
from The NestedGrepStyle, index, or name at the beginning of the range. Can accept: NestedGrepStyle, Long Integer or String.
to The NestedGrepStyle, index, or name at the end of the range. Can accept: NestedGrepStyle, Long Integer or String.
lastItem(
)
 → NestedGrepStyle
Returns the last NestedGrepStyle in the collection.
middleItem(
)
 → NestedGrepStyle
Returns the middle NestedGrepStyle in the collection.
nextItem(
obj)
 → NestedGrepStyle
Returns the NestedGrepStyle whose index follows the specified NestedGrepStyle in the collection.
obj NestedGrepStyle The NestedGrepStyle whose index comes before the desired NestedGrepStyle.
previousItem(
obj)
 → NestedGrepStyle
Returns the NestedGrepStyle with the index previous to the specified index.
obj NestedGrepStyle The index of the NestedGrepStyle that follows the desired NestedGrepStyle.
toSource(
)
 → string
Generates a string which, if executed, will return the NestedGrepStyle.