MonobjcMonobjc Documented Class Library
CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag Method (partialWordRange, string, language, spellDocumentTag)
NamespacesMonobjc.AppKitNSSpellCheckerCompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag(NSRange, NSString, NSString, NSInteger)

Provides a list of complete words that the user might be trying to type based on a partial word in a given string.

Original signature is '- (NSArray *)completionsForPartialWordRange:(NSRange)partialWordRange inString:(NSString *)string language:(NSString *)language inSpellDocumentWithTag:(NSInteger)spellDocumentTag'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag(
	NSRange partialWordRange,
	NSString string,
	NSString language,
	NSInteger spellDocumentTag
)
Public Overridable Function CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag ( _
	partialWordRange As NSRange, _
	string As NSString, _
	language As NSString, _
	spellDocumentTag As NSInteger _
) As NSArray
public:
virtual NSArray^ CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag(
	NSRange partialWordRange, 
	NSString^ string, 
	NSString^ language, 
	NSInteger spellDocumentTag
)
Parameters
partialWordRange (NSRange)
Range that identifies a partial word in string.
string (NSString)
String with the partial word from which to generate the result.
language (NSString)
Language to used in string. When nil, this method uses the language selected in the Spelling panel.
spellDocumentTag (NSInteger)
Identifies the spell document with ignored words to use.
Return Value
List of complete words from the spell checker dictionary in the order they should be presented to the user.
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)