Carbon


WordBreakProcPtr

Header: TextEdit.h Carbon status: Unsupported

typedef Boolean(* WordBreakProcPtr) (
    Ptr text, 
    SInt16 charPos
);

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

Boolean MyWordBreakCallback (
    Ptr text, 
    SInt16 charPos
);
CARBON NOTES

If you need to specify a custom word-breaking function, you should do so using the new TEGet/SetFindWordHook accessor functions


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