rem:  dump("Selection as text\n"); dump(editorShell.selectionAsText + "\n\n"); 
context: function EditorTestSelection(){  dump("Testing selection\n");  var selection = editorShell.editorSelection;  if (selection)  {    dump("Got selection\n");    var  firstRange = selection.getRangeAt(0);    if (firstRange)    {      dump("Range contains \"");      dump(firstRange.toString() + "\"\n");    }  }    dump("Selection as text\n");  dump(editorShell.selectionAsText + "\n\n");  dump("Selection as HTML\n");  dump(editorShell.selectionAsHTML + "\n\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d07c8eeb47ce995a6b608d08edd83d161ecf830/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js