rem: var highlightSyntaxCmd = document.getElementById("cmd_highlightSyntax"); var highlightSyntax = highlightSyntaxCmd.getAttribute("checked") != "true"; highlightSyntaxCmd.setAttribute("checked", highlightSyntax); 
add: var highlightSyntaxMenu = document.getElementById("menu_highlightSyntax"); var highlightSyntax = (highlightSyntaxMenu.getAttribute("checked") == "true"); 
context: function highlightSyntax(){  var highlightSyntaxCmd = document.getElementById("cmd_highlightSyntax");  var highlightSyntax = highlightSyntaxCmd.getAttribute("checked") != "true";  highlightSyntaxCmd.setAttribute("checked", highlightSyntax);  gPrefs.setBoolPref("view_source.syntax_highlight", highlightSyntax);  var PageLoader = getBrowser().webNavigation.QueryInterface(pageLoaderIface);  PageLoader.LoadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0f9c8fb79d32fd9255189b8a1844e8fe5e3d13ba/viewsource.js/clean/xpfe/browser/resources/content/viewsource.js