hasMarkedText
Returns a Boolean value indicating whether or not the receiver has marked text.
Declaration
- (BOOL) hasMarkedText;Return Value
Discussion
Unlike other methods in this protocol, this one is not called by an input server. The text view itself may call this method to determine whether there currently is marked text. NSTextView, for example, disables the Edit > Copy menu item when this method returns true.