rem: /* BIG BUG! Setting <span> tag is totally horked -- stick with <font size> for beta1 {    editorShell.RemoveTextProperty("span", "style"); dump("Removing font size\n"); } else { dump("Setting font size to: "+size+"\n"); editorShell.SetTextProperty("span", "style", "font-size:"+size); } */ 
context: function EditorSetFontSize(size){  if( size == "0" || size == "normal" ||       size == "medium" )  {    editorShell.RemoveTextProperty("font", "size");    dump("Removing font size\n");  } else {    dump("Setting font size\n");    // Temp: convert from new CSS size strings to old HTML size strings    switch (size)    {      case "xx-small":      case "x-small":        size = "-2";        break;      case "small":        size = "-1";        break;      case "large":        size = "+1";        break;      case "x-large":        size = "+2";        break;      case "xx-large":        size = "+3";        break;    }    editorShell.SetTextProperty("font", "size", size);  }/*  BIG BUG! Setting <span> tag is totally horked -- stick with <font size> for beta1  {    // XXX-THIS IS DEFINITELY WRONG!     // We need to parse the style tag to set/remove only the "font-size"    // TODO: We need a general SetInlineStyle(), RemoveInlineStyle() interface    editorShell.RemoveTextProperty("span", "style");    dump("Removing font size\n");  } else {    dump("Setting font size to: "+size+"\n");    editorShell.SetTextProperty("span", "style", "font-size:"+size);  }*/  gContentWindow.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/79313083a5c8e1f1dcbd993236abae392fc4554e/editor.js/clean/editor/ui/composer/content/editor.js