Instance Property


The partial range from the most recent beginning of a word up to the insertion point.


@property(readonly) NSRange rangeForUserCompletion;


This value is intended to be used for the range argument in the text completion methods such as completionsForPartialWordRange:indexOfSelectedItem:.

See Also

Text Completion

- complete:

Invokes completion in a text view.

- completionsForPartialWordRange:indexOfSelectedItem:

Returns an array of potential completions, in the order to be presented, representing possible word completions available from a partial word.

- insertCompletion:forPartialWordRange:movement:isFinal:

Inserts the selected completion into the text at the appropriate location.