Contents

scrollRangeToVisible(_:)

Scrolls the text view until the text in the specified range is visible.

Declaration

func scrollRangeToVisible(_ range: NSRange)

Parameters

  • range:

    The range of text to scroll into view.

See Also

Working with the selection