Carbon


TERecalcProcPtr

Header: TextEdit.h Carbon status: Not Recommended

typedef void(* TERecalcProcPtr) (
    TEPtr pTE, 
    UInt16 changeLength, 
    UInt16 *lineStart, 
    UInt16 *firstChar, 
    UInt16 *lastChar
);

You would declare your function like this if you were to name it MyTERecalcCallback:

void MyTERecalcCallback (
    TEPtr pTE, 
    UInt16 changeLength, 
    UInt16 *lineStart, 
    UInt16 *firstChar, 
    UInt16 *lastChar
);

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