Important: The information in this document is obsolete and should not be used for new development.
TEDelete
TheTEDelete
procedure removes the selected range of text from the text of the designated edit record and redraws the remaining text as necessary.
PROCEDURE TEDelete (hTE: TEHandle);
hTE
- A handle to the edit record containing the text to be deleted.
DESCRIPTION
When theTEDelete
procedure deletes a selected range of text, it does not transfer the text to either the private scrap or the Scrap Manager's desk scrap.For multistyled records, when you use
TEDelete
to delete a selected range of text, the associated character attributes are saved in the null scrap to be applied to characters entered after the text is deleted. When the user clicks in some other area of the text, the character attributes are removed from the null scrap. You can useTEDelete
to implement the Clear command. TheTEDelete
procedure recalculates line starts and line heights.