Prepends the specified formatting to all nodes of this region.
Creates a copy of this region with a slice of the selected nodes. For both start and end, a negative index can be used to indicate an offset from the end of the array. For example, -2 refers to the second to last element of the array.
Optional
start: numberThe beginning index of the specified portion of the region. If start is undefined, then the slice begins at index 0.
Optional
end: numberThe end index of the specified portion of the region. This is exclusive of the element at the index 'end'. If end is undefined, then the slice extends to the end of the region.
Sorrounds all nodes of this region with the specified formatting.
Functionally the same as invoking prepend
and append
with the same formatting.
Appends the specified formatting to all nodes of this region.