---
title: NSTextHighlightStyleDefault
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nstexthighlightstyledefault
---

# NSTextHighlightStyleDefault

The default highlight style to apply to text.

## Declaration

```occ
extern NSTextHighlightStyle const NSTextHighlightStyleDefault;
```

## Discussion

Discussion Use this constant as the value for the NSTextHighlightStyleAttributeName attribute. The system applies the default highlight color to your text. To specify a different highlight color, add the NSTextHighlightColorSchemeAttributeName attribute to your text and set its value to the color you want.
