rem: if (gFoundLink && gDrawOutline) {  gFoundLink.style.outline = gTmpOutline; gFoundLink.style.outlineOffset = gTmpOutlineOffset; } gDrawOutline = (foundLink && gFindMode != FIND_NORMAL); if (gDrawOutline) {  gTmpOutline = foundLink.style.outline; gTmpOutlineOffset = foundLink.style.outlineOffset;    foundLink.style.outline = "1px dotted invert"; foundLink.style.outlineOffset = "0"; } 
add: if (this.mFoundLink && this.mDrawOutline) {  this.mFoundLink.style.outline = this.mTmpOutline; this.mFoundLink.style.outlineOffset = this.mTmpOutlineOffset; } this.mDrawOutline = (foundLink && this.mFindMode != FIND_NORMAL); if (this.mDrawOutline) {  this.mTmpOutline = foundLink.style.outline; this.mTmpOutlineOffset = foundLink.style.outlineOffset;    foundLink.style.outline = "1px dotted invert"; foundLink.style.outlineOffset = "0"; } 
context: function setFoundLink(foundLink){  if (gFoundLink == foundLink)    return;  if (gFoundLink && gDrawOutline) {    // restore original outline    gFoundLink.style.outline = gTmpOutline;    gFoundLink.style.outlineOffset = gTmpOutlineOffset;  }  gDrawOutline = (foundLink && gFindMode != FIND_NORMAL);  if (gDrawOutline) {    // backup original outline    gTmpOutline = foundLink.style.outline;    gTmpOutlineOffset = foundLink.style.outlineOffset;    // draw pseudo focus rect    // XXX Should we change the following style for FAYT pseudo focus?    // XXX Shouldn't we change default design if outline is visible already?    foundLink.style.outline = "1px dotted invert";    foundLink.style.outlineOffset = "0";  }  gFoundLink = foundLink;  // We should update status bar. But we need delay. If the mouse cursor is  // on the document, the status bar text is changed by mouse event that is  // fired by scroll event. So, we need to change the status bar text after  // mouse event.  if (gFindMode != FIND_NORMAL)    setTimeout(updateStatusBarFind, 0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/48b90c32357104d6984ad568a01e4a0d86fd530d/findBar.js/clean/toolkit/components/typeaheadfind/content/findBar.js