MonobjcMonobjc Documented Class Library
NSTextViewWillChangeNotifyingTextViewNotification Field
NamespacesMonobjc.AppKitNSTextViewNSTextViewWillChangeNotifyingTextViewNotification

Posted when a new text view is established as the text view that sends notifications.

This notification allows observers to reregister themselves for the new text view. Methods such as removeTextContainerAtIndex:, textContainerChangedTextView:, and insertTextContainer:atIndex: cause this notification to be posted.

The notification object is the old notifying text view, or nil. The userInfo dictionary contains the following information:

KeyValue@"NSOldNotifyingTextView"The old NSTextView, if one exists, otherwise nil.@"NSNewNotifyingTextView"The new NSTextView, if one exists, otherwise nil.

There’s no delegate method associated with this notification. The text-handling system ensures that when a new text view replaces an old one as the notifying text view, the existing delegate becomes the delegate of the new text view, and the delegate is registered to receive text view notifications from the new notifying text view. All other observers are responsible for registering themselves on receiving this notification.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSTextViewWillChangeNotifyingTextViewNotification
Public Shared ReadOnly NSTextViewWillChangeNotifyingTextViewNotification As NSString
public:
static initonly NSString^ NSTextViewWillChangeNotifyingTextViewNotification
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)