Carbon


Determining TextEdit Version

Header: Gestalt.h

enum {
    gestaltTextEditVersion = 'te  ',
    gestaltTE1 = 1,
    gestaltTE2 = 2,
    gestaltTE3 = 3,
    gestaltTE4 = 4,
    gestaltTE5 = 5
};

Constant descriptions

gestaltTextEditVersion

The Gestalt selector you pass to determine what version of TextEdit is present.

gestaltTE1

The version of TextEdit found in Mac IIci ROM.

gestaltTE2

The version of TextEdit shipped with 6.0.4 Script Systems on Mac IIci (Script bug fixes for Mac IIci).

gestaltTE3

The version of TextEdit shipped with 6.0.4 Script Systems (all but Mac IIci).

gestaltTE4

The version of TextEdit shipped in System 7.0.

gestaltTE5

TextWidthHook is available in TextEdit.

To determine the version of the current TextEdit, your application should pass the selector gestaltTextEditVersion to the Gestalt function.


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