NSSpellChecker

Authors

Gregory John Casamento( borgheron@yahoo.com )
Scott Christley( scottc@net-community.com )
Class to provide the graphical interface to the spell checking service.

Copyright: (C) 2001, 1996 Free Software Foundation, Inc.

Software documentation for the NSSpellChecker class

NSSpellChecker : NSObject

Declared: AppKit/NSSpellChecker.h

sharedSpellChecker

+ (NSSpellChecker*) sharedSpellChecker;


sharedSpellCheckerExists

+ (BOOL) sharedSpellCheckerExists;


uniqueSpellDocumentTag

+ (int) uniqueSpellDocumentTag;


accessoryView

- (NSView*) accessoryView;


checkSpellingOfString:startingAt:

- (NSRange) checkSpellingOfString: (NSString*)stringToCheck startingAt: (int)startingOffset;


checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount:

- (NSRange) checkSpellingOfString: (NSString*)stringToCheck startingAt: (int)startingOffset language: (NSString*)language wrap: (BOOL)wrapFlag inSpellDocumentWithTag: (int)tag wordCount: (int*)wordCount;


closeSpellDocumentWithTag:

- (void) closeSpellDocumentWithTag: (int)tag;


countWordsInString:language:

- (int) countWordsInString: (NSString*)aString language: (NSString*)language;


guessesForWord:

- (NSArray*) guessesForWord: (NSString*)word;


ignoreWord:inSpellDocumentWithTag:

- (void) ignoreWord: (NSString*)wordToIgnore inSpellDocumentWithTag: (int)tag;


ignoredWordsInSpellDocumentWithTag:

- (NSArray*) ignoredWordsInSpellDocumentWithTag: (int)tag;


language

- (NSString*) language;


setAccessoryView:

- (void) setAccessoryView: (NSView*)aView;


setIgnoredWords:inSpellDocumentWithTag:

- (void) setIgnoredWords: (NSArray*)someWords inSpellDocumentWithTag: (int)tag;


setLanguage:

- (BOOL) setLanguage: (NSString*)aLanguage;


setWordFieldStringValue:

- (void) setWordFieldStringValue: (NSString*)aString;


spellingPanel

- (NSPanel*) spellingPanel;


updateSpellingPanelWithMisspelledWord:

- (void) updateSpellingPanelWithMisspelledWord: (NSString*)word;