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