Important: The information in this document is obsolete and should not be used for new development.
TESelView
Once automatic scrolling has been enabled by a call to theTEAutoView
procedure or through theTEFeatureFlag
function, theTESelView
procedure ensures that the selection range is visible and scrolls it into the view rectangle if necessary.
PROCEDURE TESelView (hTE: TEHandle);
hTE
- A handle to the edit record containing the text selection range.
DESCRIPTION
The top left part of the selection range is scrolled into view. If the text is displayed in a rectangle that is not high enough, automatic scrolling can cause text to appear to flicker. If automatic scrolling is disabled,TESelView
has no effect.SEE ALSO
For more information, see "TEFeatureFlag" on page 2-102.Modifying the Text of an Edit Record
Although all of the TextEdit routines provide and support editing capabilities, the set of routines described in this section implement the standard Macintosh editing features. An application can use these routines to delete, insert, cut, copy, or paste multistyled or monostyled text. The routines that you use for these purposes areTEDelete
to remove a selected range of text,TEInsert
to insert text,TECut to remove the text, but save it to be inserted, TECopy
to copy the selected text with affecting the selection range,TEPaste
to replace the selected text with the text in the private scrap, without applying character attribute information,TEStylePaste
to replace the selected text with text and its character attribute information from the desk scrap, andTEToScrap
andTEFromScrap
to move monostyled text across applications or between applications and a desk accessory.