borgheron@yahoo.com
)scottc@net-community.com
)Class to allow a spell checker to be available to other apps.
Copyright: (C) 2001, 1996 Free Software Foundation, Inc.
Availability: Not in OpenStep/MacOS-X
- Declared in:
- AppKit/NSSpellServer.h
Description forthcoming.
Method summaryReturn the spell server delegate.
Checks to see if the word is in the user's dictionary. The user dictionary is a set of words learned by the spell service for that particular user.
This method vends the spell server to the Distributed Objects system so that it can be connected to by clients.
Initiate the run loop of this service. Once the spell server object is vended, this method is called so that the server can start responding to the messages sent by the client. These messages are passed on to the NSSpellServer instance's delegate.
This method is used to set the delegate of the spellserver. When a spelling service is run the spell server is vended out to DO. The spelling service must instantiate an instance of this class and set itself to be the delegate. This allows the service to respond to messages sent by the client.
Availability: Not in OpenStep/MacOS-X
- Declared in:
- AppKit/NSSpellServer.h
This is an informal protocol since the NSSpellChecker will need to use a proxy object to call these methods. These methods need to be implemented by the spell service so that the NSSpellServer instance call call them when necessary.
Method summaryForgets the given word in the user's dictionary for the given language.
Records the new word in the user's dictionary for the given language.
This method is called when the user begins spell
checking the document. The parameters are:
sender
the spell server
instance which invoked this method,
stringToCheck
this is the
string which the spell service is going to attempt
to find misspelled words in,
language
the
language to check in,
wordCount
the number of
words checked, and
countOnly
a flag which
dictates if them method checks the spelling or
just counts the words in the given string.
Returns a range for any word it finds that is misspelled.
Attempts to guess the correct spelling of
word
.