Carbon


Search Criteria Masks

Header: MacTextEditor.h

Specifies the matching rules that should be used by the TXNFind function.

enum {
    kTXNIgnoreCaseMask = 1,
    kTXNEntireWordMask = 2,
    kTXNUseEncodingWordRulesMask = -2147483648
};

Constant descriptions

kTXNIgnoreCaseMask

Indicates case should be ignored.

kTXNEntireWordMask

Indicates the entire word must match.

kTXNUseEncodingWordRulesMask

Indicates to use Unicode Utilities to find a word. You need this for 2-byte scripts where words are not separated by a space.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)