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 /
Chapter 2 - TextEdit / TextEdit Reference
Routines


Displaying and Scrolling Text

The routines that this section describes let you control how text is displayed. TESetAlignment lets you specify whether text is to be right aligned, left aligned, or centered. TEUpdate draws the text, updating the text editing window. TETextBox lets you draw static text in a box, such as a dialog box, without requiring that you first create an edit record. TECalText recalculates line breaks. TEGetHeight returns the height of all the lines of text between two lines. TEScroll scrolls the text by the amount you specify. TEPinScroll scrolls the text, automatically stopping when it scrolls the last line into view. TEAutoView lets you turn automatic scrolling on or off. TESelView automatically scrolls the text into view, if automatic scrolling is turned on through TEAutoView.


Subtopics
TESetAlignment
TEUpdate
TETextBox
TECalText
TEGetHeight
TEScroll
TEPinScroll
TEAutoView
TESelView
TEDelete
TEInsert
TECut
TECopy
TEPaste
TEStylePaste
TEToScrap
TEFromScrap

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996