Carbon


TXNShowSelection

Header: MacTextEditor.h Carbon status: Supported

Scrolls the current selection into view.

void TXNShowSelection (
    TXNObject iTXNObject, 
    Boolean iShowEnd
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object for the current text area.

iShowEnd

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.

DISCUSSION

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.

AVAILABILITY

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)