rem: appCore = XPAppCoresManager.Find("EditorAppCoreHTML"); 
add: appCore = XPAppCoresManager.Find(editorName); 
context: function Startup(){    dump("Doing Character Props Startup...\n");    toolkitCore = XPAppCoresManager.Find("ToolkitCore");    if (!toolkitCore) {      toolkitCore = new ToolkitCore();      if (toolkitCore)        toolkitCore.Init("ToolkitCore");    }    if(!toolkitCore) {      dump("toolkitCore not found!!! And we can't close the dialog!\n");    }    // NEVER create an appcore here - we must find parent editor's    appCore = XPAppCoresManager.Find("EditorAppCoreHTML");      if(!appCore || !toolkitCore) {      dump("EditorAppCore not found!!!\n");      toolkitCore.CloseWindow(window);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e11fb63db9c449f5b8f3532e59ec06858ddc8a59/EdCharacterProps.js/buggy/editor/ui/dialogs/content/EdCharacterProps.js