mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Not part of build. Type ahead find, add ifdefs for selection color change back in so that it builds
This commit is contained in:
parent
64baa5dd15
commit
d81d4b84bc
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user