Not part of build. Type ahead find, add ifdefs for selection color change back in so that it builds

This commit is contained in:
aaronl%netscape.com 2002-08-05 21:23:24 +00:00
parent 64baa5dd15
commit d81d4b84bc

View File

@ -1161,6 +1161,7 @@ NS_IMETHODIMP nsTypeAheadFind::CancelFind()
void nsTypeAheadFind::SetCaretEnabled(nsIPresShell *aPresShell, PRBool aEnabled)
{
#ifdef TYPEAHEADFIND_CHANGE_SELECTION_LOOK
if (!aPresShell || !mFocusedDocSelCon)
return;
// Paint selection bright (typeaheadfind on) or normal (typeaheadfind off)
@ -1192,6 +1193,7 @@ void nsTypeAheadFind::SetCaretEnabled(nsIPresShell *aPresShell, PRBool aEnabled)
caret->SetCaretVisible(isCaretVisibleDuringSelection != 0);
mFocusedDocSelCon->SetCaretEnabled(isCaretVisibleDuringSelection != 0);
}
#endif
}