Contents

scrollRangeToVisible(_:)

Scrolls the specified range such that it is visible.

Declaration

optional func scrollRangeToVisible(_ range: NSRange)

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