MonobjcMonobjc Documented Class Library
InsertTextReplacementRange Method (string, replacementRange)
NamespacesMonobjc.InputMethodKitIIMKTextInputInsertTextReplacementRange(Id, NSRange)

Sends fully converted text to an input session.

Original signature is '- (void)insertText:(id)string replacementRange:(NSRange)replacementRange'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
void InsertTextReplacementRange(
	Id string,
	NSRange replacementRange
)
Sub InsertTextReplacementRange ( _
	string As Id, _
	replacementRange As NSRange _
)
void InsertTextReplacementRange(
	Id^ string, 
	NSRange replacementRange
)
Parameters
string (Id)
The converted text.
replacementRange (NSRange)
The replacement range. This parameter allows input methods to insert text at a location other than the current selection. If you use it, the replacement range should be relative to the beginning of the client document. If the string should be inserted at the current selection specify a replacement range with a location and length of NSNotFound. If the client does not support the TSMDocumentAccess protocol, this method ignores the replacement range string.
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.InputMethodKit (Module: Monobjc.InputMethodKit)