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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e4a51a7517fbe37153e5b1e094f86a50ad69e016/EdSpellCheck.js/clean/editor/ui/dialogs/content/EdSpellCheck.js