[Previous] [Up] [Next]

NSSpellChecker

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSSpellChecker

NSSpellChecker

Declared in: Gui/NSSpellChecker.h

Inherits from: NSObject

Conforms to: NSObject


Instance Variables

Methods


Class Methods

sharedSpellChecker

+ (NSSpellChecker*) sharedSpellChecker;

sharedSpellCheckerExists

+ (BOOL) sharedSpellCheckerExists;

uniqueSpellDocumentTag

+ (int) uniqueSpellDocumentTag;


Instances Methods

accessoryView

- (NSView*) accessoryView;

checkSpellingOfString:

- (NSRange) checkSpellingOfString: (NSString*)stringToCheck;

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:

- (int) countWordsInString: (NSString*)stringToCount;

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*)language;

setWordFieldStringValue:

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

spellingPanel

- (NSPanel*) spellingPanel;

updateSpellingPanelWithMisspelledWord:

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