[TOC] [Prev] [Next] [Bottom]

NSChangeSpelling

Adopted By:
NSText

Declared In:
AppKit/NSSpellProtocol.h

Protocol Description

This protocol is implemented by objects in the responder chain that can correct a misspelled word. See the description of the NSSpellChecker class for more information.


Instance Methods

changeSpelling:

- (void)changeSpelling:(id)sender

Implement this method to replace the selected word in the receiver with a corrected version from the Spelling panel. This message is sent by the NSSpellChecker to the object whose text is being checked. To get the corrected spelling, ask the sender for the string value of its selected cell (visible to the user as the text field in the Spelling panel). This method should replace the selected portion of the text with the string that it gets from the NSSpellChecker.



[TOC] [Prev] [Next] [Bottom]

Copyright © 1997, Apple Computer, Inc. All rights reserved.