Carbon


TECalText

Header: TextEdit.h Carbon status: Not Recommended

Recalculates the beginnings of all lines of text in the specified edit structure.

void TECalText (
    TEHandle hTE
);
Parameter descriptions
hTE

A handle to the edit structure whose text lines are to be recalculated.

DISCUSSION

The TECalText function updates elements of the lineStarts array in an edit structure. Call TECalText if you’ve changed the destination rectangle, the hText field, or any other property of the edit structure that pertains to line breaks and the number of characters per line—for example, font, size, style, and so on.

AVAILABILITY

Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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