TextEdit
TEInit Initialize for using TextEdit TENew Create a new edit record TEDispose Release memory used by an edit record Access Text
TESetText Identify the text of an edit record Insertion Point / Select
TEIdle Force the insertion point caret to blink TEClick Indicate when a mouse-down event occurs TEGetOffset Obtain a character offset associated with a screen point TEGetPoint Obtain screen coordinates of an edit record character TEKey Insert a key into an edit record TEInsert Insert text into an edit record TEStylInsert Insert text and style information into an edit record TECopy Copy selection range to the TextEdit scrap/desk scrap TECut Cut selection range TEPaste Insert TextEdit scrap into edit record TEStylPaste Paste text + styles from the desk scrap into an edit record Styles
GetStylScrap Copy styles of selection; obtains handle to StScrpRec SetStylScrap Apply styles in an StScrpRec to a range of text TEGetStyle Obtain style and line height info about a character TESetStyle Apply a style to currently selected text TEReplaceStyle Replace style characteristics in currently selected text TENumStyles Obtains a count of style runs in a range of text Display / Scroll
TEScroll Scroll text within its view rectangle TESelView Scroll selection into viewing rectangle TEUpdate Update (draw) text in specified rectangle TextBox Draw text which won't be edited Advanced / Customize
TECustomHook Install custom handlers for TextEdit bottleneck routines SetClikLoop Install a routine for custom mouse dragging TECalText Force TextEdit to calculate line-starts