setAttributedMarkedText(_:selectedRange:)
Inserts the provided styled text and marks it to indicate that it is part of an active input session.
Declaration
optional func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)