Get the range of visible text in a UITextView