MonobjcMonobjc Documented Class Library
EditedRangeChangeInLength Method (mask, oldRange, lengthChange)
NamespacesMonobjc.AppKitNSTextStorageEditedRangeChangeInLength(NSUInteger, NSRange, NSInteger)

Tracks changes made to the receiver, allowing the text storage to record the full extent of changes made.

Original signature is '- (void)edited:(NSUInteger)mask range:(NSRange)oldRange changeInLength:(NSInteger)lengthChange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void EditedRangeChangeInLength(
	NSUInteger mask,
	NSRange oldRange,
	NSInteger lengthChange
)
Public Overridable Sub EditedRangeChangeInLength ( _
	mask As NSUInteger, _
	oldRange As NSRange, _
	lengthChange As NSInteger _
)
public:
virtual void EditedRangeChangeInLength(
	NSUInteger mask, 
	NSRange oldRange, 
	NSInteger lengthChange
)
Parameters
mask (NSUInteger)
A mask specifying the nature of the changes. The value is made by combining with the C bitwise OR operator the options described in “Change notifications”.
oldRange (NSRange)
The extent of characters affected before the change took place.
lengthChange (NSInteger)
The number of characters added to or removed from oldRange. If no characters where edited as noted by mask, its value is irrelevant and undefined. For example, when replacing “The” with “Several” in the string “The files couldn’t be saved”, oldRange is {0, 3} and lengthChange is 4.
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)