rem: var newWord = gDialog.ReplaceWordInput.value; 
add: if (!newWord) return;  
context: function Replace(){  var newWord = gDialog.ReplaceWordInput.value;  if (gMisspelledWord && gMisspelledWord != newWord)  {    var editor = GetCurrentEditor();    editor.beginTransaction();    try {      gSpellChecker.ReplaceWord(gMisspelledWord, newWord, false);    } catch (e) {}    editor.endTransaction();  }  NextWord();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f03e5360195b0078212a981039b7c69b2bed5f0f/EdSpellCheck.js/clean/editor/ui/dialogs/content/EdSpellCheck.js