rem:  dialog.findKey.value           = findService.searchString; dialog.caseSensitive.checked   = findService.matchCase; dialog.wrap.checked            = findService.wrapFind; dialog.searchBackwards.checked = findService.findBackwards; 
add:   dialog.findKey.value           = gFindInst.searchString ? gFindInst.searchString : findService.searchString; dialog.caseSensitive.checked   = gFindInst.matchCase ? gFindInst.matchCase : findService.matchCase; dialog.wrap.checked            = gFindInst.wrapFind ? gFindInst.wrapFind : findService.wrapFind; dialog.searchBackwards.checked = gFindInst.findBackwards ? gFindInst.findBackwards : findService.findBackwards; 
context: function fillDialog(){  // get the find service, which stores global find state  var findService = Components.classes["@mozilla.org/find/find_service;1"]                         .getService(Components.interfaces.nsIFindService);    // Set initial dialog field contents.  dialog.findKey.value           = findService.searchString;  dialog.caseSensitive.checked   = findService.matchCase;  dialog.wrap.checked            = findService.wrapFind;  dialog.searchBackwards.checked = findService.findBackwards;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cdaf1556ac58b3122061d1e695caa0b2a50ddc15/finddialog.js/clean/xpfe/components/find/resources/finddialog.js