rem: case "cmd_smiley": 
context: function goUpdateCommandState(cmdController, command){  // this code need to be trimmed down and possibly reworked   // when we move to nsICommandGroup for command handling  if (noUIStateUpdateNeeded(command))    return;  // these commands need to go somewhere:  if (command == "cmd_smiley"   || command == "cmd_dt"   || command == "cmd_dd"   || command == "cmd_removeList"   || command == "cmd_cut"   || command == "cmd_copy"   || command == "cmd_paste"   || command == "cmd_pasteNoFormatting"   || command == "cmd_pasteQuote"   || command == "cmd_delete"   || command == "cmd_selectAll"   || command == "cmd_redo"   || command == "cmd_undo")     return;  try  {    var params = newCommandParams();    if (!params) return;    try {      cmdController.getCommandStateWithParams(command, params);    } catch(e) {//      dump("getCommandStateWithParams error "+e+" updating "+command+"\n");    }    switch (command)    {      case "cmd_bold":      case "cmd_italic":      case "cmd_underline":      case "cmd_var":      case "cmd_samp":      case "cmd_code":      case "cmd_acronym":      case "cmd_abbr":      case "cmd_cite":      case "cmd_strong":      case "cmd_em":      case "cmd_superscript":      case "cmd_subscript":      case "cmd_strikethrough":      case "cmd_tt":      case "cmd_nobreak":      case "cmd_ul":      case "cmd_ol":        pokeStyleUI(command, params.getBooleanValue("state_all"));        break;      case "cmd_smiley":      case "cmd_paragraphState":      case "cmd_align":      case "cmd_highlight":      case "cmd_backgroundColor":      case "cmd_fontColor":      case "cmd_fontFace":      case "cmd_fontSize":      case "cmd_updateStructToolbar":        pokeMultiStateUI(command, params);        break;      case "cmd_indent":      case "cmd_outdent":      case "cmd_increaseFont":      case "cmd_decreaseFont":      case "cmd_removeStyles":        break;      default: dump("no update for command: " +command+"\n");    }  }  catch (e) { dump("An error occurred updating the "+command+" command: \n"+e+"\n"); }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/463ef3d5d42d07a90c06f7b34f7dd81d9cb3b2da/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js