Instance Method

scrollRangeToVisible:

Scrolls the specified range such that it is visible.

Declaration

- (void)scrollRangeToVisible:(NSRange)range;

Parameters

range

The range to display.

Discussion

This method is used by all actions, but is not strictly required by any.

See Also

Determining and Displaying Text Locations

- contentViewAtIndex:effectiveCharacterRange:

Returns the view the context is displayed in.

- rectsForCharacterRange:

An array containing the located text in the content view’s coordinate system.

visibleCharacterRanges

An array of visible character ranges.