Sent when a text view needs to determine if text in an array of specified ranges should be changed.
Original signature is '- (BOOL)textView:(NSTextView *)textView shouldChangeTextInRanges:(NSArray *)affectedRanges replacementStrings:(NSArray *)replacementStrings'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public event NSTextView..::..TextViewShouldChangeTextInRangesReplacementStringsEventHandler TextViewShouldChangeTextInRangesReplacementStrings
Public Event TextViewShouldChangeTextInRangesReplacementStrings As NSTextView..::..TextViewShouldChangeTextInRangesReplacementStringsEventHandler
public: event NSTextView..::..TextViewShouldChangeTextInRangesReplacementStringsEventHandler^ TextViewShouldChangeTextInRangesReplacementStrings { void add (NSTextView..::..TextViewShouldChangeTextInRangesReplacementStringsEventHandler^ value); void remove (NSTextView..::..TextViewShouldChangeTextInRangesReplacementStringsEventHandler^ value); }
Return Value
YES to allow the replacement, or NO to reject the change.
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)