rem: 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); 
add: commandManager.registerCommand("cmd_find",       nsFindCommand); commandManager.registerCommand("cmd_findNext",   nsFindNextCommand); commandManager.registerCommand("cmd_spelling",   nsSpellingCommand); commandManager.registerCommand("cmd_validate",   nsValidateCommand); commandManager.registerCommand("cmd_checkLinks", nsCheckLinksCommand); commandManager.registerCommand("cmd_insertChars", nsInsertCharsCommand); 
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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1010f8aeed1d47f0f0a00649c46266c1855c197c/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js