MonobjcMonobjc Documented Class Library
ControlTextViewCompletionsForPartialWordRangeIndexOfSelectedItem Event

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.

Declaration Syntax
C#Visual BasicVisual C++
Return 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
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)