Carbon


Text Feature Action Constants

Header: TextEdit.h

enum {
    teBitClear = 0,
    teBitSet = 1,
    teBitTest = -1
};

Constant descriptions

teBitClear

Disables the specified feature

teBitSet

Enables the specified feature. If teBitTest returns teBitSet, the feature is enabled; if it returns teBitClear, it is disabled.

teBitTest

Returns the current setting of the specified feature

To specify the action to be performed on a feature, you specify one of these constants as the value of the action parameter to the TEFeatureFlag function.

To test for the availability of these features, you can call the Gestalt function with the gestaltTextEditVersion selector. A result of gestaltTE4 or greater returned in the response parameter indicates that outline highlighting and text buffering are available. A result of gestaltTE5 or greater returned in the response parameter indicates that the two inline input features are available.

VERSION NOTES

The inline input features are also available on version 6.0.7 systems with non-Roman script systems installed. However, there is no Gestalt constant that indicates this availability.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)