rem: word = gDialog.ReplaceWordInput.value; 
add: var word = gDialog.ReplaceWordInput.value; 
context: function CheckWord(){  word = gDialog.ReplaceWordInput.value;  if (word)   {    if (gSpellChecker.CheckCurrentWord(word))    {      FillSuggestedList(word);      SetReplaceEnable();    }     else     {      ClearListbox(gDialog.SuggestedList);      var item = gDialog.SuggestedList.appendItem(GetString("CorrectSpelling"), "");      if (item) item.setAttribute("disabled", "true");      // Suppress being able to select the message text      gAllowSelectWord = false;    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a3a3ee78ea51a2bf6bef15afc6e479dea8dd414f/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js