Contents

attributesForExtraLineFragment

Returns the attributes used to lay out the extra line fragment.

Declaration

var attributesForExtraLineFragment: [NSAttributedString.Key : Any] { get }

Return Value

A dictionary of attributes used to lay out the extra line fragment.

Discussion

The default implementation tries to use the NSTextView method typingAttributes if possible; otherwise, it uses the attributes for the last character.

See Also

Accessing paragraph typesetting information