rem:   textfield.setAttribute("selectionStart",0);   textfield.setAttrubute("selectionEnd",textfield.value.length);  
context: function SetTextfieldFocus(textfield){  if (textfield)  {dump("Selection Start="+textfield.selectionStart+"\n");dump("Selection End="+textfield.selectionEnd+"\n");    textfield.focus();    //TODO: This is not working -- did Simon checkin? Do we need to change XBL?    //textfield.selectionStart = 0;    textfield.setAttribute("selectionStart",0);    //TODO: Simon should change this to support "-1" for "select to end"    //textfield.selectionEnd = textfield.value.length;    textfield.setAttrubute("selectionEnd",textfield.value.length);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a62a9dffa18e5793a2281b90ef7939a2ae5b769c/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js