![]() |
TECut |
||||
Header: | TextEdit.h | Carbon status: | Not Recommended | |
Removes the current selection range from the text of the designated edit structure, redrawing the text as necessary.
void TECut ( TEHandle hTE );
A handle to the edit structure containing the text to be cut.
For monostyled text, the TECut function writes the cut text to the private scrap.
For multistyled text, TECut writes the cut text to the private scrap and its character attributes to the style scrap; it also writes both to the Scrap Managers desk scrap. For multistyled text, the TECut function removes the character attributes from the style structures style table when the text is cut.
For both monostyled and multistyled text, if the selection range is an insertion point, TextEdit deletes everything from the private scrap. When the selection range is an insertion point and the text is multistyled, TECut has no effect on the style scrap or the Scrap Managers desk scrap.
Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)