markedTextAttributes
The attributes used to draw marked text.
Declaration
var markedTextAttributes: [NSAttributedString.Key : Any]? { get set }Discussion
Text color, background color, and underline are the only supported attributes for marked text.
See Also
Managing the selection
selectedRangessetSelectedRange(_:)setSelectedRange(_:affinity:stillSelecting:)setSelectedRanges(_:affinity:stillSelecting:)selectionAffinityselectionGranularityinsertionPointColorupdateInsertionPointStateAndRestartTimer(_:)selectedTextAttributeslinkTextAttributescharacterIndexForInsertion(at:)updateCandidates()