![]() |
TXNShowSelection |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Scrolls the current selection into view.
void TXNShowSelection ( TXNObject iTXNObject, Boolean iShowEnd );
A variable of type TXNObject. Pass the text object for the current text area.
A Boolean value. If you set this to true, the end of the selection is scrolled into view. Otherwise, the beginning of selection is scrolled into view.
You can use this to scroll text into view after you have called the TXNFind function and the matching text is not in the current view of the TXNObject.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)