range(of:at:)
Returns the range of the specified text list that contains the specified location.
Declaration
func range(of list: NSTextList, at location: Int) -> NSRangeParameters
- list:
The text list.
- location:
The location in the text list.
Return Value
The range of the given text list containing the location.