rem: var controller = GetEditorController(); if (!controller) 
add: var commandManager = GetComposerCommandManager(); if (!commandManager) 
context: function SetupTextEditorCommands(){  var controller = GetEditorController();  if (!controller)    return;    //dump("Registering plain text editor commands\n");    controller.registerCommand("cmd_find",       nsFindCommand);  controller.registerCommand("cmd_findNext",   nsFindNextCommand);  controller.registerCommand("cmd_spelling",   nsSpellingCommand);  controller.registerCommand("cmd_validate",   nsValidateCommand);  controller.registerCommand("cmd_checkLinks", nsCheckLinksCommand);  controller.registerCommand("cmd_insertChars", nsInsertCharsCommand);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/22d098a7174f48153b74dd770b2e40ab6f898f16/ComposerCommands.js/clean/editor/ui/composer/content/ComposerCommands.js