Invoked to allow you to control the list of proposed text completions generated by text fields and other controls.
Original signature is '- (NSArray *)control:(NSControl *)control textView:(NSTextView *)textView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger *)index'
Available in Mac OS X v10.3 and later.

C# | Visual Basic | Visual C++ |
public event NSControl..::..ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItemEventHandler ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItem
Public Event ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItem As NSControl..::..ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItemEventHandler
public: event NSControl..::..ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItemEventHandler^ ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItem { void add (NSControl..::..ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItemEventHandler^ value); void remove (NSControl..::..ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItemEventHandler^ value); }

An array of NSString objects containing the list of completions to use in place of the array in the words parameter. The returned array should list the completions in their preferred order

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)