add: if (enable) { dialog.ReplaceButton.setAttribute("default","true"); dialog.IgnoreButton.removeAttribute("default"); } else { dialog.IgnoreButton.setAttribute("default","true"); dialog.ReplaceButton.removeAttribute("default"); } 
context: function SetReplaceEnable(){  // Enable "Change..." buttons only if new word is different than misspelled  var newWord = dialog.ReplaceWordInput.value;  var enable = newWord.length > 0 && newWord != MisspelledWord;  SetElementEnabledById("Replace", enable);  SetElementEnabledById("ReplaceAll", enable);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5eafc0feeb5eafc3a8dec8ecd2e935e7be206733/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js