Return to the Main Index
Return to the Alphabetic Index

Copyright (c) 1994 by NeXT Computer, Inc. All Rights Reserved.

Protocols

NSChangeSpelling

Adopted By: NSText

Declared In: AppKit/NSSpellProtocol.h

Protocol Description

An object in the responder chain that can correct a misspelled word implements this protocol. See the description of the NSSpellChecker class for more information.

Changing Spelling

- (void)changeSpelling:(id)sender Implement to replace the selected word in the receiver with a corrected version from the Spelling panel. This message is sent by the NSSpellChecker instance to the object whose text is being checked. To get the corrected spelling, the receiver asks the sender for the string value of its selected cell.