![]() |
TXNIsSelectionEmpty |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Checks the current selection to see if it is empty.
Boolean TXNIsSelectionEmpty ( TXNObject iTXNObject );
A variable of type TXNObject. Pass the text object for the current text area.
A Boolean value; true if the current selection is empty.
You can use this to determine if Cut, Copy, and Clear items should be enabled in the Edit menu.
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)