rem: if (appCore && toolkitCore) { 
add: if (appCore) { 
context: function CheckSpelling(){  if (appCore && toolkitCore) {    dump("Check Spelling starting...\n");    // Start the spell checker module. Return is first misspelled word    word = appCore.startSpellChecking();    dump(word+"\n");    if( word == "")    {      dump("THERE IS NO MISSPELLED WORD!\n");      // TODO: PUT UP A MESSAGE BOX TO TELL THE USER      appCore.CloseSpellChecking();    } else {      dump("We found a MISSPELLED WORD\n");      toolkitCore.ShowWindowWithArgs("chrome://editordlgs/content/EdSpellCheck.xul", window, editorName);    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a152976669b5eefdf918a3c66ac8ee8458d41637/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js