MonobjcMonobjc Documented Class Library
InsertCompletionForPartialWordRangeMovementIsFinal Method (word, charRange, movement, flag)
NamespacesMonobjc.AppKitNSTextViewInsertCompletionForPartialWordRangeMovementIsFinal(NSString, NSRange, NSInteger, Boolean)

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

Original signature is '- (void)insertCompletion:(NSString *)word forPartialWordRange:(NSRange)charRange movement:(NSInteger)movement isFinal:(BOOL)flag'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertCompletionForPartialWordRangeMovementIsFinal(
	NSString word,
	NSRange charRange,
	NSInteger movement,
	bool flag
)
Public Overridable Sub InsertCompletionForPartialWordRangeMovementIsFinal ( _
	word As NSString, _
	charRange As NSRange, _
	movement As NSInteger, _
	flag As Boolean _
)
public:
virtual void InsertCompletionForPartialWordRangeMovementIsFinal(
	NSString^ word, 
	NSRange charRange, 
	NSInteger movement, 
	bool flag
)
Parameters
word (NSString)
The completion to insert.
charRange (NSRange)
The character range of the text being completed.
movement (NSInteger)
The direction of movement. For possible values see the NSText Constants section. This value allows subclasses to distinguish between canceling completion and selection by arrow keys, by return, by tab, or by other means such as clicking.
flag (Boolean)
NO while the user navigates through the potential text completions, YES when a completion is definitively selected or cancelled and the original value is reinserted.
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)