rem: dialog.srcInput.value = selection; 
add: srcInput.value = selection; 
context: function Startup(){  if (!InitEditorShell())    return;  doSetOKCancel(onOK, null);    // Create dialog object to store controls for easy access  dialog = new Object;  dialog.srcInput = document.getElementById("srcInput");  // Kinda clunky: Message was wrapped in a <p>,  // so actual message is a child text node  dialog.srcMessage = (document.getElementById("srcMessage")).firstChild;  if (null == dialog.srcInput ||      null == dialog.srcMessage )  {    dump("Not all dialog controls were found!!!\n");  }  selection = editorShell.GetContentsAs("text/html", 35);  selection = (selection.replace(/<body[^>]*>/,"")).replace(/<\/body>/,"");  if (selection != "")    dialog.srcInput.value = selection;  // Set initial focus  dialog.srcInput.focus();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/371c750504c530471dd186b90dde9da478c22440/EdInsSrc.js/clean/editor/ui/dialogs/content/EdInsSrc.js