add: editorController.setCommandContext(GetCurrentEditorElement()); 
context: function GetComposerCommandTable(){  var controller;  if (gComposerJSCommandControllerID)  {    try {       controller = window.content.controllers.getControllerById(gComposerJSCommandControllerID);    } catch (e) {}  }  if (!controller)  {    //create it    controller = Components.classes["@mozilla.org/embedcomp/base-command-controller;1"].createInstance();    var editorController = controller.QueryInterface(Components.interfaces.nsIControllerContext);    editorController.init(null);    window.content.controllers.insertControllerAt(0, controller);      // Store the controller ID so we can be sure to get the right one later    gComposerJSCommandControllerID = window.content.controllers.getControllerId(controller);  }  if (controller)  {    var interfaceRequestor = controller.QueryInterface(Components.interfaces.nsIInterfaceRequestor);    return interfaceRequestor.getInterface(Components.interfaces.nsIControllerCommandTable);  }  return null;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/da612cac58dcb7e9f3602cece16f98855cac775c/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js