MonobjcMonobjc Documented Class Library
NSTextDidEndEditingNotification Field
NamespacesMonobjc.AppKitNSTextNSTextDidEndEditingNotification

Posted when focus leaves an NSText object, whether or not any operation has changed characters or formatting attributes.

The notification object is the notifying NSText object. The userInfo dictionary contains the following information:

KeyValue@"NSTextMovement"Possible movement code values are described in “Movement Codes.”

Note: It is common for NSTextDidEndEditingNotification to be sent without a matching NSTextDidBeginEditingNotification. The begin notification is only sent if the user actually makes changes (that is, types something or changes formatting attributes). However, the end notification is sent when focus leaves the text view, regardless of whether there was a change.This distinction enables an application to know whether the user actually made a change to the text or just clicked in the text view and then clicked outside it. In both cases, NSTextDidEndEditingNotification is sent, but to tell the difference, the application can listen for NSTextDidBeginEditingNotification.

Available in Mac OS X v10.0 and later.

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