Contents

textFirstRect

Returns a rect representing the bounds of the first line of marked text, if marked text is set.

Declaration

var textFirstRect: CGRect { get }

Discussion

Otherwise, this returns a rect representing the bounds of the last word at or before the insertion point.