rem: addEditorClickEventListener(); 
add:  window.updateCommands("create"); 
context:   NotifyDocumentCreated: function()  {    gEditor = editorShell.editor;    // do all of our QI'ing here so we don't need to do it elsewhere    DoAllQueryInterfaceOnEditor();    try {      gEditor.QueryInterface(Components.interfaces.nsIEditorMailSupport);    } catch(e) {}    // XXX Temporary: This should be set during startup     //  once we finish transition from nsIEditorShell is to nsIEditorSession    try {      gEditor.contentsMIMEType = gIsHTMLEditor ? kHTMLMimeType : kTextMimeType;    } catch(e) {}    addEditorClickEventListener();    try {      // Add the base sheet for editor cursor etc.      gEditor.addOverrideStyleSheet(kBaseEditorStyleSheet);    } catch (e) {}  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9eb1bf9cc2c8c33dd4470288bd07a363d10bba7f/editor.js/clean/editor/ui/composer/content/editor.js