MonobjcMonobjc Documented Class Library
SmartDeleteRangeForProposedRange Method (proposedCharRange)
NamespacesMonobjc.AppKitNSTextViewSmartDeleteRangeForProposedRange(NSRange)

Returns an extended range that includes adjacent whitespace that should be deleted along with the proposed range in order to preserve proper spacing and punctuation.

Original signature is '- (NSRange)smartDeleteRangeForProposedRange:(NSRange)proposedCharRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRange SmartDeleteRangeForProposedRange(
	NSRange proposedCharRange
)
Public Overridable Function SmartDeleteRangeForProposedRange ( _
	proposedCharRange As NSRange _
) As NSRange
public:
virtual NSRange SmartDeleteRangeForProposedRange(
	NSRange proposedCharRange
)
Parameters
proposedCharRange (NSRange)
The proposed character range for deleting.
Return Value
An extended range that includes adjacent whitespace that should be deleted along with the proposed range in order to preserve proper spacing and punctuation of the text surrounding the deletion.
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)