Sent when the spelling state is changed.
Original signature is '- (NSInteger)textView:(NSTextView *)textView shouldSetSpellingState:(NSInteger)value range:(NSRange)affectedCharRange'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSInteger TextViewShouldSetSpellingStateRangeMessage( NSTextView textView, NSInteger value, NSRange affectedCharRange )
Public Function TextViewShouldSetSpellingStateRangeMessage ( _ textView As NSTextView, _ value As NSInteger, _ affectedCharRange As NSRange _ ) As NSInteger
public: NSInteger TextViewShouldSetSpellingStateRangeMessage( NSTextView^ textView, NSInteger value, NSRange affectedCharRange )
Parameters
- textView (NSTextView)
- The text view sending the message.
- value (NSInteger)
- The proposed spelling state value to set. Possible values, for the temporary attribute on the layout manager using the key NSSpellingStateAttributeName, are:
- affectedCharRange (NSRange)
- The character range over which to set the given spelling state.
Return Value
The actual spelling state to set.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)