nsIInlineSpellChecker

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

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 the type of the following properties:

nsIEditor.inlineSpellChecker

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com