Class orion.textview.FindOptions
This object describes the options to use while finding occurrences of a string in a text model.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/textModel.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
whether or not search is case insensitive.
|
|
The end offset of the search.
|
|
whether or not the search string is a regular expression.
|
|
whether or not to search backwards.
|
|
The start offset to start searching
|
|
the search string to be found.
|
|
whether or not to search only whole words.
|
|
whether or not to wrap search.
|
Field Detail
{Boolean}
caseInsensitive
whether or not search is case insensitive.
- Default Value:
- false
{Number}
end
The end offset of the search. Used to search in a given range.
- Default Value:
- charCount
{Boolean}
regex
whether or not the search string is a regular expression.
- Default Value:
- false
{Boolean}
reverse
whether or not to search backwards.
- Default Value:
- false
{Number}
start
The start offset to start searching
- Default Value:
- 0
{String}
string
the search string to be found.
{Boolean}
wholeWord
whether or not to search only whole words.
- Default Value:
- false
{Boolean}
wrap
whether or not to wrap search.
- Default Value:
- false