contentView(at:effectiveCharacterRange:)
Returns the view the context is displayed in.
Declaration
optional func contentView(at index: Int, effectiveCharacterRange outRange: NSRangePointer) -> NSViewParameters
- index:
The index of the view containing the located text.
- outRange:
Returns, by reference, the entire range of the string displayed by the view
Return Value
Returns the view the contains the found text.