Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /


Appendix D - Renamed and Relocated Text Routines

This appendix lists, in Table D-1, those Macintosh system software routines that
have been renamed or relocated from one manager to another during the reorganization necessary for the creation of Inside Macintosh: Text. It also lists those calls that have been rendered obsolete by newer versions of themselves and are therefore removed
from documentation.

Most of the changes have been to text-related routines: the International Utilities Package and the Binary-Decimal Conversion Package have been replaced by a new manager called Text Utilities. The Text Utilities include most of their routines and also several text-related routines that were formerly part of the Toolbox Utilities and Operating System Utilities.

Many text-related routines that were formerly part of the Script Manager have been moved to other managers, such as QuickDraw, the Font Manager, the Text Utilities, or the Menu Manager, to be documented alongside existing routines with similar capabilities. For example, all routines that measure and draw justified text have been moved from the Script Manager to QuickDraw, to be with the existing QuickDraw text-measuring and drawing routines.

Many other routines have not been moved, but their names have been changed to
more clearly reflect their functions, to minimize ambiguous interpretations, and to expand abbreviations.

Some routines that are not related to text handling are listed here. They are former Script Manager or International Utilities routines dealing with international issues, such as IUMetric and WriteLocation. Those routines now belong to other managers, as noted in Table D-1.

Note
Although obsolete routines are no longer documented, they may remain in system software and their declarations may be maintained in the interface files for backward compatibility. Renamed routines are no longer documented under their old names, other than within the table in this appendix.
Table D-1 Renamed, relocated, and obsolete text and international routines (Continued)
Old nameNew nameOld locationNew location
Char2Pixel(obsolete; use CharToPixel) QuickDraw
CharByte(obsolete; use CharacterByteType)Script Manager
CharType(obsolete; use CharacterType) Script Manager
Date2SecsDateToSecondsO.S. Utilities(not moved)
DrawJust(obsolete; use DrawJustified) QuickDraw
EqualString(unchanged)O.S. UtilitiesText Utilities
FindScriptRun(unchanged)Script ManagerText Utilities
FindWord(obsolete; use FindWordBreaks) Text Utilities
Font2ScriptFontToScriptScript Manager(not moved)
Format2StrFormatRecToStringScript ManagerText Utilities
FormatStr2XStringToExtendedScript ManagerText Utilities
FormatX2StrExtendedToStringScript ManagerText Utilities
GetAppFont(unchanged)Script ManagerFont Manager
GetDefFontSize(unchanged)Script ManagerFont Manager
GetEnvironsGetScriptManagerVariableScript Manager(not moved)
GetFormatOrder(unchanged)Script ManagerQuickDraw
GetIndString(unchanged)Toolbox UtilitiesText Utilities
GetMBarHeight(unchanged)Script ManagerMenu Manager
GetScriptGetScriptVariableScript Manager(not moved)
GetString(unchanged)Toolbox UtilitiesText Utilities
GetStylHandleTEGetStyleHandleTextEdit(not moved)
GetStylScrapTEGetStyleScrapHandleTextEdit(not moved)
GetSysFont(unchanged)Script ManagerFont Manager
GetSysJustGetSysDirectionScript Manager(not moved)
HiliteText(unchanged)Script ManagerQuickDraw
InitDateCache(unchanged)Script ManagerText Utilities
IUClearCacheClearIntlResourceCacheIntl. UtilitiesScript Manager
IUCompPStringCompareStringIntl. UtilitiesText Utilities
IUCompString(obsolete; use CompareString) Text Utilities
IUDatePStringDateStringIntl. UtilitiesText Utilities
IUDateString(obsolete; use DateString) Text Utilities
IUEqualPStringIdenticalStringIntl. UtilitiesText Utilities
IUEqualString(obsolete; use IdenticalString) Text Utilities
IUGetIntlGetIntlResourceIntl. UtilitiesScript Manager
IUGetItlTableGetIntlResourceTableIntl. UtilitiesScript Manager
IULangOrderLanguageOrderIntl. UtilitiesText Utilities
IULDateStringLongDateStringIntl. UtilitiesText Utilities
IULTimeStringLongTimeStringIntl. UtilitiesText Utilities
IUMagIDPStringIdenticalTextIntl. UtilitiesText Utilities
IUMagIDString(obsolete; use IdenticalText) TextUtilities
IUMagPStringCompareTextIntl. UtilitiesText Utilities
IUMagString(obsolete; use CompareText) Text Utilities
IUMetricIsMetricIntl. UtilitiesO.S. Utilities
IUScriptOrderScriptOrderIntl. UtilitiesText Utilities
IUSetIntl(obsolete; for 'INTL' resources)Intl. UtilitiesText Utilities
IUStringOrderStringOrderIntl. UtilitiesText Utilities
IUTextOrderTextOrderIntl. UtilitiesText Utilities
IUTimePStringTimeStringIntl. UtilitiesText Utilities
IUTimeString(obsolete; use TimeString) Text Utilities
KeyTransKeyTranslateEvent Manager(not moved)
LongDate2SecsLongDateToSecondsScript ManagerO.S. Utilities
LongSecsToDateLongSecondsToDateScript ManagerO.S. Utilities
LowerText(obsolete; use LowercaseText) Text Utilities
MeasureJust(obsolete; use MeasureJustified) QuickDraw
Munger(unchanged)Toolbox UtilitiesText Utilities
NChar2PixelCharToPixelScript ManagerQuickDraw
NDrawJustDrawJustifiedScript ManagerQuickDraw
NewString(unchanged)Toolbox UtilitiesText Utilities
NFindWord(obsolete; use FindWordBreaks) Text Utilities
NMeasureJustMeasureJustifiedScript ManagerQuickDraw
 
NPixel2CharPixelToCharScript ManagerQuickDraw
NPortionTextPortionLineScript ManagerQuickDraw
NumToString(unchanged)Binary-Dec. Conv.Text Utilities
ParseTable(obsolete; use FillParseTable) Script Manager
Pixel2Char(obsolete; use PixelToChar) QuickDraw
PortionText(obsolete; use PortionLine) QuickDraw
ReadLocation(unchanged)Script ManagerO.S. Utilities
RelString(unchanged)O.S. UtilitiesText Utilities
ReplaceText(unchanged)Script ManagerText Utilities
Secs2DateSecondsToDateO.S. Utilities(not moved)
SetClikLoopTESetClickLoopTextEdit(not moved)
SetEnvironsSetScriptManagerVariableScript Manager(not moved)
SetScriptSetScriptVariableScript Manager(not moved)
SetString(unchanged)Toolbox UtilitiesText Utilities
SetStylHandleTESetStyleHandleTextEdit(not moved)
SetStylScrapTEUseStyleScrapTextEdit(not moved)
SetSysJustSetSysDirectionScript Manager(not moved)
SetWordBreakTESetWordBreakTextEdit(not moved)
Str2FormatStringToFormatRecScript ManagerText Utilities
String2DateStringToDateScript ManagerText Utilities
String2TimeStringToTimeScript ManagerText Utilities
StringToNum(unchanged)Binary-Dec. Conv.Text Utilities
StripText(obsolete; use StripDiacritics) Text Utilities
StripUpperText(obsolete; use UppercaseStripDiacritics)Text Utilities
StyledLineBreak(unchanged)Script ManagerText Utilities
TEGetScrapLenTEGetScrapLengthTextEdit(not moved)
TESetJustTESetAlignmentTextEdit(not moved)
TESetScrapLenTESetScrapLengthTextEdit(not moved)
TEStylInsertTEStyleInsertTextEdit(not moved)
TEStylNewTEStyleNewTextEdit(not moved)
TeStylPasteTEStylePasteTextEdit(not moved)
TextBoxTETextBoxTextEdit(not moved)
ToggleDate(unchanged)Script ManagerO.S. Utilities
Transliterate(obsolete; use TransliterateText)Script Manager
TruncString(unchanged)Script ManagerText Utilities
TruncText(unchanged)Script ManagerText Utilities
UpperText(obsolete; use UppercaseText) Text Utilities
UprStringUpperStringO.S. UtilitiesText Utilities
ValidDate(unchanged)Script ManagerO.S. Utilities
VisibleLength(unchanged)Script ManagerQuickDraw
WriteLocation(unchanged)Script ManagerO.S. Utilities

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996