rem: ListElement = editorShell.GetElementOrParentByTagName("list",null); 
add:   ListElement = editorShell.GetSelectedElement("list");  if (!ListElement) {  ListElement = editorShell.GetElementOrParentByTagName("list", null);    if (ListElement) MixedListSelection = true; } 
context: function Startup(){  if (!InitEditorShell())    return;  doSetOKCancel(onOK, null);  ListTypeList = document.getElementById("ListType");  BulletStyleList = document.getElementById("BulletStyle");  BulletStyleLabel = document.getElementById("BulletStyleLabel");  StartingNumberInput = document.getElementById("StartingNumber");  StartingNumberLabel = document.getElementById("StartingNumberLabel");  AdvancedEditButton = document.getElementById("AdvancedEditButton");    // Try to get an existing list  ListElement = editorShell.GetElementOrParentByTagName("list",null);    // The copy to use in AdvancedEdit  if (ListElement)    globalElement = ListElement.cloneNode(false);  //dump("List and global elements: "+ListElement+globalElement+"\n");  InitDialog();  ListTypeList.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2b34b49a022263caa641dc5083239be58bde91c8/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js