rvico TRichView Reference | Types

TRVESearchOption, TRVESearchOptions Type

Top  Previous  Next

Unit RVEdit;

type

  TRVESearchOption = (rvseoMatchCase, rvseoDown, rvseoWholeWord,

    rvseoMultiItem, rvseoSmartStart);

  TRVESearchOptions = set of TRVESearchOption;

Options for searching in RichViewEdit, see TCustomRichViewEdit.SearchText.

Value

Meaning

rvseoMatchCase

If included, character case is taken into account when comparing string.

rvseoDown

If included, search is performed to the end of document. If not included, it is performed to the top of document.

rvseoWholeWord

If included, the searched string matches only whole words.

rvseoMultiItem

If included, the search can match substrings of several text items. If not included, the text is searched in each text item separately. For example, if the document contains the text Hello, the substring 'Hello' can be found only if this option is included, because 'He' and 'llo' belong to different items.

rvseoSmartStart

If included, and a document fragment is selected, then:

when searching down, the search starts from the second selected character;

when searching up, the search starts from the last but one selected character

(selected characters are counted from the top of the document, the selection direction is ignored)


TRichView © trichview.com