rem: this.showItem( "context-selectall", this.isTextSelected || this.onTextInput ); this.showItem( "context-sep-selectall", this.isTextSelected ); 
add: this.showItem( "context-selectall", true ); this.showItem( "context-sep-selectall", this.isTextSelected && !this.onTextInput ); 
context:     initClipboardItems : function () {        // Copy depends on whether there is selected text.        // Enabling this context menu item is now done through the global        // command updating system        // this.setItemAttr( "context-copy", "disabled", !this.isTextSelected() );        goUpdateGlobalEditMenuItems();        this.showItem( "context-undo", this.onTextInput );        this.showItem( "context-sep-undo", this.onTextInput );        this.showItem( "context-cut", this.onTextInput );        this.showItem( "context-copy", this.isTextSelected || this.onTextInput );        this.showItem( "context-paste", this.onTextInput );        this.showItem( "context-delete", this.onTextInput );        this.showItem( "context-sep-paste", this.onTextInput );        this.showItem( "context-selectall", this.isTextSelected || this.onTextInput );        this.showItem( "context-sep-selectall", this.isTextSelected );        // XXX dr        // ------        // nsDocumentViewer.cpp has code to determine whether we're        // on a link or an image. we really ought to be using that...        // Copy email link depends on whether we're on an email link.        this.showItem( "context-copyemail", this.onMailtoLink );        // Copy link location depends on whether we're on a link.        this.showItem( "context-copylink", this.onLink );        this.showItem( "context-sep-copylink", this.onLink && this.onImage);        // Copy image location depends on whether we're on an image.        this.showItem( "context-copyimage", this.onImage );        this.showItem( "context-sep-copyimage", this.onImage );    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/478b501d25ffe543d3437c00e89f49be40b6b0df/browser.js/buggy/browser/base/content/browser.js