rem: var spellChecker = editorShell.QueryInterface(Components.interfaces.nsIEditorSpellCheck); if (spellChecker) { dump("Check Spelling starting...\n");  try { firstMisspelledWord = spellChecker.StartSpellChecking(); } catch(ex) { dump("*** Exception error: StartSpellChecking\n"); return; } if( firstMisspelledWord == "") { try { spellChecker.CloseSpellChecking(); } catch(ex) { dump("*** Exception error: CloseSpellChecking\n"); return; }  editorShell.AlertWithTitle(editorShell.GetString("CheckSpelling"), editorShell.GetString("NoMisspelledWord")); } else {  window.spellChecker = spellChecker; try { window.openDialog("chrome: } catch(ex) { dump("*** Exception error: SpellChecker Dialog Closing\n"); return; } } } contentWindow.focus(); 
add: return _EditorObsolete(); 
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();    }    catch(ex) {      dump("*** Exception error: StartSpellChecking\n");      return;    }    if( firstMisspelledWord == "")    {      try {        spellChecker.CloseSpellChecking();      }      catch(ex) {        dump("*** Exception error: CloseSpellChecking\n");        return;      }      // No misspelled word - tell user      editorShell.AlertWithTitle(editorShell.GetString("CheckSpelling"), editorShell.GetString("NoMisspelledWord"));     } else {      // Set spellChecker variable on window      window.spellChecker = spellChecker;      try {        window.openDialog("chrome://editor/content/EdSpellCheck.xul", "_blank", "chrome,close,titlebar,modal", "", firstMisspelledWord);      }      catch(ex) {        dump("*** Exception error: SpellChecker Dialog Closing\n");        return;      }    }  }  contentWindow.focus();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/035965297dd3eee99dadbd7c3a6f8560d975d3ea/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js