2001-12-17 16:51:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>NSSpellChecker</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>NSSpellChecker</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt>Gregory John Casamento(<a href="mailto:borgheron@yahoo.com"><code>
|
|
|
|
borgheron@yahoo.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Scott Christley(<a href="mailto:scottc@net-community.com"><code>
|
|
|
|
scottc@net-community.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
Class to provide the graphical interface to the spell
|
|
|
|
checking service.
|
|
|
|
</blockquote>
|
|
|
|
<p>Copyright: (C) 2001, 1996 Free Software Foundation, Inc.</p>
|
|
|
|
<h1>
|
|
|
|
Software documentation for the NSSpellChecker class
|
|
|
|
</h1>
|
|
|
|
<h2><a name="class$NSSpellChecker">NSSpellChecker</a> : NSObject</h2>
|
|
|
|
Declared: AppKit/NSSpellChecker.h<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>sharedSpellChecker</a></h3>
|
|
|
|
+ (<a href="#class$NSSpellChecker">NSSpellChecker</a>*) <b>sharedSpellChecker</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>sharedSpellCheckerExists</a></h3>
|
|
|
|
+ (BOOL) <b>sharedSpellCheckerExists</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>uniqueSpellDocumentTag</a></h3>
|
|
|
|
+ (int) <b>uniqueSpellDocumentTag</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>accessoryView</a></h3>
|
|
|
|
- (<a href="NSView.html#class$NSView">NSView</a>*) <b>accessoryView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>checkSpellingOfString:startingAt:</a></h3>
|
|
|
|
- (NSRange) <b>checkSpellingOfString:</b> (NSString*)stringToCheck<b> startingAt:</b> (int)startingOffset;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount:</a></h3>
|
|
|
|
- (NSRange) <b>checkSpellingOfString:</b> (NSString*)stringToCheck<b> startingAt:</b> (int)startingOffset<b> language:</b> (NSString*)language<b> wrap:</b> (BOOL)wrapFlag<b> inSpellDocumentWithTag:</b> (int)tag<b> wordCount:</b> (int*)wordCount;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>closeSpellDocumentWithTag:</a></h3>
|
|
|
|
- (void) <b>closeSpellDocumentWithTag:</b> (int)tag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>countWordsInString:language:</a></h3>
|
|
|
|
- (int) <b>countWordsInString:</b> (NSString*)aString<b> language:</b> (NSString*)language;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>guessesForWord:</a></h3>
|
|
|
|
- (NSArray*) <b>guessesForWord:</b> (NSString*)word;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>ignoreWord:inSpellDocumentWithTag:</a></h3>
|
|
|
|
- (void) <b>ignoreWord:</b> (NSString*)wordToIgnore<b> inSpellDocumentWithTag:</b> (int)tag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>ignoredWordsInSpellDocumentWithTag:</a></h3>
|
|
|
|
- (NSArray*) <b>ignoredWordsInSpellDocumentWithTag:</b> (int)tag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>language</a></h3>
|
|
|
|
- (NSString*) <b>language</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setAccessoryView:</a></h3>
|
|
|
|
- (void) <b>setAccessoryView:</b> (<a href="NSView.html#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setIgnoredWords:inSpellDocumentWithTag:</a></h3>
|
|
|
|
- (void) <b>setIgnoredWords:</b> (NSArray*)someWords<b> inSpellDocumentWithTag:</b> (int)tag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setLanguage:</a></h3>
|
|
|
|
- (BOOL) <b>setLanguage:</b> (NSString*)aLanguage;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setWordFieldStringValue:</a></h3>
|
|
|
|
- (void) <b>setWordFieldStringValue:</b> (NSString*)aString;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>spellingPanel</a></h3>
|
|
|
|
- (<a href="NSPanel.html#class$NSPanel">NSPanel</a>*) <b>spellingPanel</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>updateSpellingPanelWithMisspelledWord:</a></h3>
|
|
|
|
- (void) <b>updateSpellingPanelWithMisspelledWord:</b> (NSString*)word;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|