rem: dialog.ReplaceWordInput.focus(); 
add: SetTextfieldFocus(dialog.ReplaceWordInput); 
context: function SetWidgetsForMisspelledWord(){  dialog.MisspelledWord.setAttribute("value",MisspelledWord);  FillSuggestedList();  // Initial replace word is misspelled word   dialog.ReplaceWordInput.value = MisspelledWord;    DoEnabling();    // EXPERIMENTAL: Automatically shift focus to replace word editfield  if (MisspelledWord)    dialog.ReplaceWordInput.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c0a534c8efb9e6703626cacd6d61cb6ad8eb6680/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js