Not part of build. Typeaheadfind: clean up emacsish/repeated character logic

This commit is contained in:
aaronl%netscape.com 2002-07-12 08:10:13 +00:00
Родитель 1905c441da
Коммит 6e7925d837
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -566,7 +566,7 @@ NS_IMETHODIMP nsTypeAheadFind::KeyPress(nsIDOMEvent* aEvent)
gIsFindingText = PR_TRUE; // prevents listener callbacks from resetting us during typeahead find processing
nsresult rv;
nsresult rv = NS_ERROR_FAILURE;
#ifndef PREFER_LINK_CYCLE_ON_SAME_CHAR
if (!mDontTryExactMatch)

Просмотреть файл

@ -155,6 +155,7 @@ protected:
PRInt32 mTimeoutLength; // Amount of time before find is automatically cancelled
static PRBool gIsFindingText; // this flag prevents side effects from listener callbacks while selecting/focusing found text
nsCOMPtr<nsIDOMRange> mStartFindRange; // where selection was when user started the find
nsCOMPtr<nsIDOMRange> mOverrideStartPointRange;
#ifdef RESTORE_SEARCH
// Old nsIFindService state