TRVESearchOption, TRVESearchOptions Type

<< Click to display table of contents >>

TRVESearchOption, TRVESearchOptions Type

Unit RVEdit;


  TRVESearchOption = (rvseoMatchCase, rvseoDown, rvseoWholeWord,

    rvseoMultiItem, rvseoSmartStart);

  TRVESearchOptions = set of TRVESearchOption;

Options for searching in RichViewEdit, see TCustomRichViewEdit.SearchText.




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


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


If included, the searched string matches only whole words.


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.


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)