add:   editorShell.RegisterDocumentStateListener( DocumentReloadListener ); 
context: function EditorSetDocumentCharacterSet(aCharset){  if(editorShell)  {    editorShell.SetDocumentCharacterSet(aCharset);    if( editorShell.editorDocument.location != "about:blank")    {      editorShell.LoadUrl(editorShell.editorDocument.location);    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6b566ab232e6368f1bd4a37935cf615bb8844f19/editor.js/clean/editor/ui/composer/content/editor.js