rem:  toolkitCore = XPAppCoresManager.Find("ToolkitCore"); if (!toolkitCore) { toolkitCore = new ToolkitCore(); if (toolkitCore) { toolkitCore.Init("ToolkitCore"); dump("ToolkitCore initialized for Editor\n"); } } else { dump("ToolkitCore found\n"); 
add:   toolbar = new Object; if (!toolbar) { dump("Failed to create toolbar object!!!\n"); EditorExit(); 
context: function EditorSetup(p_editorName, p_appCore){  editorName = p_editorName;  appCore = p_appCore;    toolkitCore = XPAppCoresManager.Find("ToolkitCore");  if (!toolkitCore)  {    toolkitCore = new ToolkitCore();    if (toolkitCore) {      toolkitCore.Init("ToolkitCore");      dump("ToolkitCore initialized for Editor\n");    }  } else {    dump("ToolkitCore found\n");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a152976669b5eefdf918a3c66ac8ee8458d41637/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js