Skip to main content

TdxRichEditSearchOption Enum

Enumerates search condition flags.

Declaration

TdxRichEditSearchOption = (
    CaseSensitive,
    WholeWord
);

Members

Name
CaseSensitive
WholeWord

Remarks

Options include:

Value Description
CaseSensitive This flag enables case sensitivity for a text search operation. A search routine can find only exact matches in this mode (for instance, if “myString” is the target text string, the search routine ignores all similar strings like “mystring”, “Mystring”, etc.).
WholeWord This flag enables the “whole words” search mode for a text search operation. A search routine ignores any partial word matches in a document (that is, if a non-matching word contains an occurrence of the searched text string).

The TdxRichEditSearchOptions type references the TdxRichEditSearchOption type.

Note

TdxRichEditSearchOption is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditSearchOption.CaseSensitive (in Delphi) or TdxRichEditSearchOption::CaseSensitive (in C++Builder) to refer to the CaseSensitive value in code.

See Also