nsTypeAheadFind ******************************/
[scriptable, uuid(0749a445-19d3-4eb9-9d66-78eca8c6f604)]
interface nsITypeAheadFind : nsISupports

Constants

 Constants *******************************/
const unsigned short FIND_FOUND = 0

          
const unsigned short FIND_NOTFOUND = 1

          
const unsigned short FIND_WRAPPED = 2

Attributes


          
attribute boolean caseSensitive

          
readonly attribute nsIDOMWindow currentWindow

          
readonly attribute nsIDOMElement foundEditable

          
readonly attribute nsIDOMElement foundLink
 Attributes ******************************/
readonly attribute AString searchString

Methods


          
void collapseSelection()
 Core functions ****************************/
unsigned short find(in AString aSearchString, in boolean aLinksOnly)

          
unsigned short findAgain(in boolean findBackwards, in boolean aLinksOnly)
 Initializer ******************************/
void init(in nsIDocShell aDocShell)
 Helper functions ***************************/
void setDocShell(in nsIDocShell aDocShell)

          
void setSelectionModeAndRepaint(in short toggle)