<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMarkedClauseSegmentAttributeName",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSMarkedClauseSegmentAttributeName"
  },
  "title" : "NSMarkedClauseSegmentAttributeName"
}
-->

# NSMarkedClauseSegmentAttributeName

The index of the marked clause segment.

```
extern NSAttributedStringKey NSMarkedClauseSegmentAttributeName;
```

## Discussion

The value of this attribute is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing an integer, as an index in marked text indicating clause segments.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)