---
title: "setParagraphGlyphRange(_:separatorGlyphRange:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstypesetter/setparagraphglyphrange(_:separatorglyphrange:)"
---

# setParagraphGlyphRange(_:separatorGlyphRange:)

Sets the current glyph range being processed.

## Declaration

```swift
func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange)
```

## Parameters

- `paragraphRange`: The current glyph range being processed.
- `paragraphSeparatorRange`: The range of the paragraph separator character or characters.

## See Also

### Accessing paragraph typesetting information

- [currentParagraphStyle](appkit/nstypesetter/currentparagraphstyle.md)
- [attributedString](appkit/nstypesetter/attributedstring.md)
- [paragraphGlyphRange](appkit/nstypesetter/paragraphglyphrange.md)
- [paragraphSeparatorGlyphRange](appkit/nstypesetter/paragraphseparatorglyphrange.md)
- [paragraphCharacterRange](appkit/nstypesetter/paragraphcharacterrange.md)
- [paragraphSeparatorCharacterRange](appkit/nstypesetter/paragraphseparatorcharacterrange.md)
- [attributesForExtraLineFragment](appkit/nstypesetter/attributesforextralinefragment.md)
