MonobjcMonobjc Documented Class Library
AttributedSubstringForProposedRangeActualRange Method (aRange, actualRange)
NamespacesMonobjc.AppKitINSTextInputClientAttributedSubstringForProposedRangeActualRange(NSRange, NSRange%)

Returns an attributed string derived from the given range in the receiver's text storage. (required)

Original signature is '- (NSAttributedString *)attributedSubstringForProposedRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSAttributedString AttributedSubstringForProposedRangeActualRange(
	NSRange aRange,
	ref NSRange actualRange
)
Function AttributedSubstringForProposedRangeActualRange ( _
	aRange As NSRange, _
	ByRef actualRange As NSRange _
) As NSAttributedString
NSAttributedString^ AttributedSubstringForProposedRangeActualRange(
	NSRange aRange, 
	NSRange% actualRange
)
Parameters
aRange (NSRange)
The range in the text storage from which to create the returned string.
actualRange (NSRange%)
The actual range of the returned string if it was adjusted, for example, to a grapheme cluster boundary or for performance or other reasons. NULL if range was not adjusted.
Return Value
The string created from the given range. May return nil.
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)