nsIFind

IID:75125d55-37ee-4575-b9b5-f33bfa68c2a1
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool caseSensitive

PRBool findBackwards

nsIWordBreaker wordBreaker

Use "find entire words" mode by setting to a word breaker or null, to disable "entire words" mode.


Methods

nsIDOMRange Find ( PRUnichar* patText , nsIDOMRange searchRange , nsIDOMRange startPoint , nsIDOMRange endPoint )

nsIDOMRange Find ( PRUnichar* patText , nsIDOMRange searchRange , nsIDOMRange startPoint , nsIDOMRange endPoint )

Find some text in the current context. The implementation is responsible for performing the find and highlighting the text.

Arguments:
patText: The text to search for.
searchRange: A Range specifying domain of search.
startPoint: A Range specifying search start point. If not collapsed, we'll start from end (forward) or start (backward). May be null; if so, we'll start at the start (forward) or end (back) of searchRange.
endPoint: A Range specifying search end point. If not collapsed, we'll end at end (forward) or start (backward). May be null; if so, we'll end at the end (forward) or start (back) of searchRange.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com