MonobjcMonobjc Documented Class Library
TextViewShouldChangeTextInRangeReplacementString Event
NamespacesMonobjc.AppKitNSTextView..::..NSTextViewDelegateEventDispatcherTextViewShouldChangeTextInRangeReplacementString

Sent when a text view needs to determine if text in a specified range should be changed.

Original signature is '- (BOOL)textView:(NSTextView *)aTextView shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString *)replacementString'

Available in Mac OS X v10.0 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)