MonobjcMonobjc Documented Class Library
TextStorageEditedRangeChangeInLengthInvalidatedRange Method (aTextStorage, mask, newCharRange, delta, invalidatedCharRange)
NamespacesMonobjc.AppKitNSLayoutManagerTextStorageEditedRangeChangeInLengthInvalidatedRange(NSTextStorage, NSUInteger, NSRange, NSInteger, NSRange)

Invalidates glyph and layout information for a portion of the text in the given text storage object.

Original signature is '- (void)textStorage:(NSTextStorage *)aTextStorage edited:(NSUInteger)mask range:(NSRange)newCharRange changeInLength:(NSInteger)delta invalidatedRange:(NSRange)invalidatedCharRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void TextStorageEditedRangeChangeInLengthInvalidatedRange(
	NSTextStorage aTextStorage,
	NSUInteger mask,
	NSRange newCharRange,
	NSInteger delta,
	NSRange invalidatedCharRange
)
Public Overridable Sub TextStorageEditedRangeChangeInLengthInvalidatedRange ( _
	aTextStorage As NSTextStorage, _
	mask As NSUInteger, _
	newCharRange As NSRange, _
	delta As NSInteger, _
	invalidatedCharRange As NSRange _
)
public:
virtual void TextStorageEditedRangeChangeInLengthInvalidatedRange(
	NSTextStorage^ aTextStorage, 
	NSUInteger mask, 
	NSRange newCharRange, 
	NSInteger delta, 
	NSRange invalidatedCharRange
)
Parameters
aTextStorage (NSTextStorage)
The text storage whose information is invalidated.
mask (NSUInteger)
Specifies the nature of the changes. Its value is made by combining with the C bitwise OR operator the constants described in “Change notifications” in NSTextStorage (NSTextStorageEditedAttributes and NSTextStorageEditedCharacters).
newCharRange (NSRange)
Indicates the extent of characters resulting from the edits.
delta (NSInteger)
If the NSTextStorageEditedCharacters bit of mask is set, gives the number of characters added to or removed from the original range (otherwise its value is irrelevant).
invalidatedCharRange (NSRange)
Represents the range of characters affected after attributes have been fixed. Is either equal to newCharRange or larger. For example, deleting a paragraph separator character invalidates the layout information for all characters in the paragraphs that precede and follow the separator.
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)