rem: if (gWordToAdd == GetTreelistValueAt(gDialog.DictionaryList,index)) 
add:  var wordInList = gDialog.DictionaryList.getItemAtIndex(i); if (wordInList && gWordToAdd == wordInList.label) 
context: function SelectWordToAddInList(){  for (var index = 0; index < gDialog.DictionaryList.getAttribute("length"); index++)  {    if (gWordToAdd == GetTreelistValueAt(gDialog.DictionaryList,index))    {      gDialog.DictionaryList.selectedIndex = index;      break;    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/db9f2fff82069a9541ab1d6e59faab309c0f4fce/EdDictionary.js/buggy/editor/ui/dialogs/content/EdDictionary.js