Contents

textView(_:candidates:forSelectedRange:)

Returns an array of text objects to include in a text selection.

Declaration

@MainActor optional func textView(_ textView: NSTextView, candidates: [NSTextCheckingResult], forSelectedRange selectedRange: NSRange) -> [NSTextCheckingResult]

Return Value

An array of NSTextCheckingResult objects.

See Also

Managing the Selection