rem: var state = htmlEditor.getHighlightColorState(mixedObj); 
add: var state = gEditor.getHighlightColorState(mixedObj); 
context:   observe: function(subject, topic, prefName)  {    // verify that we're changing a button pref    if (topic != "nsPref:changed") return;    if (prefName.substr(0, this.domain.length) != this.domain) return;    var button = document.getElementById("cmd_highlight");    var mixedObj = new Object();    if (button) {      var prefs = GetPrefs();      var useCSS = prefs.getBoolPref(prefName);      var htmlEditor = gEditor.QueryInterface(Components.interfaces.nsIHTMLEditor);      if (useCSS && htmlEditor) {        button.removeAttribute("disabled");        var state = htmlEditor.getHighlightColorState(mixedObj);        button.setAttribute("state", state);      }            else {        button.setAttribute("disabled", "true");        button.setAttribute("state", "transparent");      }      if (htmlEditor) {        htmlEditor.isCSSEnabled = useCSS;      }    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d56262a401c9d60bbef8fdbf3317ef55705279f1/editor.js/buggy/editor/ui/composer/content/editor.js