rem:   return (GetCurrentEditor() != null && !IsInHTMLSourceMode()); 
add: return GetCurrentEditor() != null; 
context:   isCommandEnabled: function(aCommand, dummy)  {    // we can only do this if the search pattern is non-empty. Not sure how    // to get that from here    return (GetCurrentEditor() != null && !IsInHTMLSourceMode());  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/108824e9bf09210b8fa9e282c7d4989af9f77109/ComposerCommands.js/clean/editor/ui/composer/content/ComposerCommands.js