MonobjcMonobjc Documented Class Library
TextViewShouldChangeTextInRangesReplacementStrings Event
NamespacesMonobjc.AppKitNSTextView..::..NSTextViewDelegateEventDispatcherTextViewShouldChangeTextInRangesReplacementStrings

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 BasicVisual C++
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)