These constants control the display of the spelling and grammar indicators on text, highlighting portions of the text that are flagged for spelling or grammar issues. These regions are denoted by a temporary attribute on the layout manager, using the NSSpellingStateAttributeName key.
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
[FlagsAttribute] public enum NSSpellingStateAttributeNameFlags
<FlagsAttribute> _ Public Enumeration NSSpellingStateAttributeNameFlags
[FlagsAttribute] public enum class NSSpellingStateAttributeNameFlags

Member | Description |
---|---|
NSSpellingStateSpellingFlag | Flag for spelling issues. Available in Mac OS X v10.5 and later. |
NSSpellingStateGrammarFlag | Flag for grammar issues. Available in Mac OS X v10.5 and later. |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)