Determining the Version of TextEdit
gestaltTextEditVersion. When you call Gestalt with this selector, the result returned in the response parameter identifies the current version of
is installed.
gestaltTE1 U.S. system software version 6.0.4 containing TextEdit on a Macintosh IIci
gestaltTE2 version 6.0.4 non-Roman script system containing a
the new measuring hook nWIDTHHook for the Macintosh IIci
gestaltTE3 version 6.0.4 non-Roman script system containing a
the new measuring hook nWIDTHHook for Macintosh Plus,
Macintosh SE, Macintosh SE/30, Macintosh II, Macintosh
Por table, Macintosh IIx, or Macintosh IIcx}
gestaltTE4 system software versions 6.0.5 and later, which contain a
the new measuring hook nWIDTHHook & the
outline-highlighting & text- buffering features, on any
gestaltTE5 system software version 7.0, which contains a
outline highlighting, text buffering, new features for inline
input, & } capability to disable inline input
gestaltTE2 or greater. TextEdit contains the new measuring hook nWIDTHHook if the returned value is gestaltTE2 or greater.
The outline-highlighting and text- buffering features of TextEdit, included with the function TEFeatureFlag, are available if the returned value is gestaltTE4 or greater. Outline highlighting, text buffering, new features for
inline input, and the capability to disable inline input, included with the
function TEFeatureFlag, are available if the returned value is gestaltTE5 or greater.
The new measuring hook TextWidthHook is available if the returned value is TextEdit's width measuring hooks, see TextEdit Width Hooks.