MonobjcMonobjc Documented Class Library
CompletionsForPartialWordRangeIndexOfSelectedItem Method (charRange, index)
NamespacesMonobjc.AppKitNSTextViewCompletionsForPartialWordRangeIndexOfSelectedItem(NSRange, NSInteger%)

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

Original signature is '- (NSArray *)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger *)index'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray CompletionsForPartialWordRangeIndexOfSelectedItem(
	NSRange charRange,
	out NSInteger index
)
Public Overridable Function CompletionsForPartialWordRangeIndexOfSelectedItem ( _
	charRange As NSRange, _
	<OutAttribute> ByRef index As NSInteger _
) As NSArray
public:
virtual NSArray^ CompletionsForPartialWordRangeIndexOfSelectedItem(
	NSRange charRange, 
	[OutAttribute] NSInteger% index
)
Parameters
charRange (NSRange)
The range of characters of the partial word to be completed.
index (NSInteger%)
On return, optionally set to the completion that should be initially selected. The default is 0, and –1 indicates no selection.
Return Value
An array of potential completions, in the order to be presented, representing possible word completions available from a partial word at charRange. Returning nil or a zero-length array suppresses completion.
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)