add: dump("====== Selection as prettyprinted HTML ========\n"); output = editorShell.GetContentsAs("text/html", 3); dump(output + "\n\n");  
context: function EditorTestSelection(){  dump("Testing selection\n");  var selection = editorShell.editorSelection;  if (!selection)  {    dump("No selection!\n");    return;  }  dump("Selection contains:\n");  // 3rd param = column to wrap  dump(selection.toString("text/plain", gOutputFormatted & gOutputSelectionOnly, 0) + "\n");  var output;  dump("\n====== Selection as XIF =======================\n");  output = editorShell.GetContentsAs("text/xif", 1);  dump(output + "\n\n");  dump("====== Selection as unformatted text ==========\n");  output = editorShell.GetContentsAs("text/plain", 1);  dump(output + "\n\n");  dump("====== Selection as formatted text ============\n");  output = editorShell.GetContentsAs("text/plain", 3);  dump(output + "\n\n");  dump("====== Selection as HTML ======================\n");  output = editorShell.GetContentsAs("text/html", 1);  dump(output + "\n\n");    dump("====== Length and status =====================\n");  output = "Document is ";  if (editorShell.documentIsEmpty)    output += "empty\n";  else    output += "not empty\n";  output += "Document length is " + editorShell.documentLength + " characters";  dump(output + "\n\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b3d9cbac1279f0a70829108b66474cb6c7db1ed4/EditorCommandsDebug.js/clean/editor/ui/composer/content/EditorCommandsDebug.js