CEItemizer
CEItemizer is a special item accessible from the TextActionContext that allows you to lookup CEItem objects in the context based on zero-based character indexes and ranges.
Read-only properties
- items: an array of all the root CEItem objects in this context
Methods
itemAtCharacterIndex(location)
Returns the deepest CEItem at the given zero-based character index location. May return null
if no item exists at the given index.
itemsInCharacterRange(range)
Returns the top-level CEItem objects that are completely contained in the given Range range.
Note that returned items may not share the same parent! Some items might be deeper than others, because this method tries to find every top-level item inside the range.
smallestItemContainingCharacterRange(range)
Returns the deepest item that fully encloses the given Range range. May be null
if no such item is found.