MonobjcMonobjc Documented Class Library
SetSpellingStateRange Method (value, charRange)
NamespacesMonobjc.AppKitNSTextViewSetSpellingStateRange(NSInteger, NSRange)

Sets the spelling state, which controls the display of the spelling and grammar indicators on the given text range.

Original signature is '- (void)setSpellingState:(NSInteger)value range:(NSRange)charRange'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetSpellingStateRange(
	NSInteger value,
	NSRange charRange
)
Public Overridable Sub SetSpellingStateRange ( _
	value As NSInteger, _
	charRange As NSRange _
)
public:
virtual void SetSpellingStateRange(
	NSInteger value, 
	NSRange charRange
)
Parameters
value (NSInteger)
The spelling state value to set. Possible values, for the temporary attribute on the layout manager using the key NSSpellingStateAttributeName, are:
charRange (NSRange)
The character range over which to set the given spelling state.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)