rem: editorShell.Alert(editorShell.GetString("CheckSpelling"), editorShell.GetString("CheckSpellingDone")); 
context: function CheckSpelling(){  var spellChecker = editorShell.QueryInterface(Components.interfaces.nsIEditorSpellCheck);  if (spellChecker)  {    dump("Check Spelling starting...\n");    // Start the spell checker module. Return is first misspelled word    try {      firstMisspelledWord = spellChecker.StartSpellChecking();      dump(firstMisspelledWord+"\n");      if( firstMisspelledWord == "")      {        spellChecker.CloseSpellChecking();        // No misspelled word - tell user        editorShell.Alert(editorShell.GetString("CheckSpelling"), editorShell.GetString("NoMisspelledWord"));       } else {        dump("We found a MISSPELLED WORD\n");        // Set spellChecker variable on window        window.spellChecker = spellChecker;        window.openDialog("chrome://editor/content/EdSpellCheck.xul", "_blank", "chrome,close,titlebar,modal", "", firstMisspelledWord);        editorShell.Alert(editorShell.GetString("CheckSpelling"), editorShell.GetString("CheckSpellingDone"));       }    }    catch(ex) {       dump("*** Exception error from Spell Checker\n");    }  }  contentWindow.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9ac913ea06d60001cd7b4a4e88e15cf23d64b6be/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js