Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(6088a862-1229-11d9-941d-c035b2e390c6)]
interface nsIEditorSpellCheck : nsISupports

Methods


        
void AddWordToDictionary(in wstring word)

        
boolean CheckCurrentWord(in wstring suggestedWord)

        
boolean CheckCurrentWordNoSuggest(in wstring suggestedWord)

        
wstring GetCurrentDictionary()

        
void GetDictionaryList([array, size_is(count)] out wstring dictionaryList, out PRUint32 count)

        
wstring GetNextMisspelledWord()

        
void GetPersonalDictionary()

        
wstring GetPersonalDictionaryWord()

        
wstring GetSuggestedWord()

        
void IgnoreWordAllOccurrences(in wstring word)

        
void InitSpellChecker(in nsIEditor editor, in boolean enableSelectionChecking)

        
void RemoveWordFromDictionary(in wstring word)

        
void ReplaceWord(in wstring misspelledWord, in wstring replaceWord, in boolean allOccurrences)

        
void SetCurrentDictionary(in wstring dictionary)

        
void setFilter(in nsITextServicesFilter filter)

        
void UninitSpellChecker()