Mostly cleanup of the typeaheadfind code, not part of the build.

git-svn-id: svn://10.0.0.236/trunk@127408 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2002-08-15 22:24:26 +00:00
parent 627a8e0aac
commit 028064e4f0
2 changed files with 448 additions and 230 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -156,7 +156,7 @@ protected:
nsresult GetTranslatedString(const nsAString& aKey, nsAString& aStringOut);
// Used by GetInstance and ReleaseInstance
static nsTypeAheadFind *mInstance;
static nsTypeAheadFind *sInstance;
// Current find state
nsString mTypeAheadBuffer;
@@ -170,11 +170,9 @@ protected:
PRInt32 mRepeatingMode;
PRInt32 mTimeoutLength; // time in ms before find is automatically cancelled
// gIsFindingText: this flag prevents side effects from listener callbacks
// while selecting/focusing found text.
static PRBool gIsFindingText;
static PRBool sIsFindingText;
static PRInt32 gAccelKey; // magic value of -1 indicates unitialized state
static PRInt32 sAccelKey; // magic value of -1 indicates unitialized state
// where selection was when user started the find
nsCOMPtr<nsIDOMRange> mStartFindRange;