---
title: attributesForExtraLineFragment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstypesetter/attributesforextralinefragment
---

# attributesForExtraLineFragment

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

## Declaration

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

## Return Value

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

## Discussion

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

- [currentParagraphStyle](appkit/nstypesetter/currentparagraphstyle.md)
- [attributedString](appkit/nstypesetter/attributedstring.md)
- [setParagraphGlyphRange(_:separatorGlyphRange:)](appkit/nstypesetter/setparagraphglyphrange(_:separatorglyphrange:).md)
- [paragraphGlyphRange](appkit/nstypesetter/paragraphglyphrange.md)
- [paragraphSeparatorGlyphRange](appkit/nstypesetter/paragraphseparatorglyphrange.md)
- [paragraphCharacterRange](appkit/nstypesetter/paragraphcharacterrange.md)
- [paragraphSeparatorCharacterRange](appkit/nstypesetter/paragraphseparatorcharacterrange.md)
