Carbon


Data Offsets

Header: MacTextEditor.h

Specifies offsets to use for a text object’s data.

enum {
    kTXNUseCurrentSelection = -1,
    kTXNStartOffset = 0,
    kTXNEndOffset = 2147483647
};

Constant descriptions

kTXNUseCurrentSelection

Indicates the data in the current selection should be used.

kTXNStartOffset

A convenience constant used to indicate the starting range of data in a text object.

kTXNEndOffset

A convenience constant used to indicate the ending range of data in a text object.


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