Instance Method

unmarkText

Unmarks the marked text.

Required.

Declaration

- (void)unmarkText;

Discussion

The receiver removes any marking from pending input text and disposes of the marked text as it wishes. The text view should accept the marked text as if it had been inserted normally. If there is no marked text, the invocation of this method has no effect.

See Also

Handling Marked Text

- hasMarkedText

Returns a Boolean value indicating whether the receiver has marked text.

Required.

- markedRange

Returns the range of the marked text.

Required.

- selectedRange

Returns the range of selected text.

Required.

- setMarkedText:selectedRange:replacementRange:

Replaces a specified range in the receiver’s text storage with the given string and sets the selection.

Required.

- validAttributesForMarkedText

Returns an array of attribute names recognized by the receiver.

Required.