Contents

textView(_:candidatesForSelectedRange:)

Returns an array of objects that represent the elements of a selection.

Declaration

@MainActor optional func textView(_ textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?

Return Value

An array of objects that represent the selection.

See Also

Managing the Selection