WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIInlineSpellChecker

IID:f5d1ec9e-4d30-11d8-8053-da0cc7df1f20
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool enableRealTimeSpell

readonly nsIEditorSpellCheck spellChecker


Methods

void addWordToDictionary ( AString word ) [noscript] void cleanup ( ) nsIDOMRange getMispelledWord ( nsIDOMNode node , PRInt32 offset ) void ignoreWord ( AString word ) void ignoreWords ( arrayof PRUnichar* wordsToIgnore , PRUint32 count ) [noscript] void init ( nsIEditor editor ) void replaceWord ( nsIDOMNode node , PRInt32 offset , AString newword ) void spellCheckAfterEditorChange ( PRInt32 action , nsISelection selection , nsIDOMNode previousSelectedNode , PRInt32 previousSelectedOffset , nsIDOMNode startNode , PRInt32 startOffset , nsIDOMNode endNode , PRInt32 endOffset ) void spellCheckRange ( nsIDOMRange selection )

void addWordToDictionary ( AString word )

Arguments:
word

void cleanup ( )


nsIDOMRange getMispelledWord ( nsIDOMNode node , PRInt32 offset )

Arguments:
node
offset

void ignoreWord ( AString word )

Arguments:
word

void ignoreWords ( arrayof PRUnichar* wordsToIgnore , PRUint32 count )

Arguments:
wordsToIgnore
count

void init ( nsIEditor editor )

Arguments:
editor

void replaceWord ( nsIDOMNode node , PRInt32 offset , AString newword )

Arguments:
node
offset
newword

void spellCheckAfterEditorChange ( PRInt32 action , nsISelection selection , nsIDOMNode previousSelectedNode , PRInt32 previousSelectedOffset , nsIDOMNode startNode , PRInt32 startOffset , nsIDOMNode endNode , PRInt32 endOffset )

Arguments:
action
selection
previousSelectedNode
previousSelectedOffset
startNode
startOffset
endNode
endOffset

void spellCheckRange ( nsIDOMRange selection )

Arguments:
selection

References

This interface is returned from the following methods:

nsIEditor.getInlineSpellChecker

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com