Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTextMBS class.

NSTextMBS.textDidBeginEditing

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Text MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No
Informs you that the text object has begun editing (that the user has begun changing it).

NSTextMBS.textDidChange

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Text MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No
Informs you that the text object has changed its characters or formatting attributes.

NSTextMBS.textDidEndEditing

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Text MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No
Informs you that the text object has finished editing (that it has resigned first responder status).

NSTextMBS.textShouldBeginEditing as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Text MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No
Invoked when a text object begins to change its text, this method requests permission to begin editing.

If the delegate returns false, the text object proceeds to make changes. If the delegate returns true, the text object abandons the editing operation. This method is also invoked when the user drags and drops a file onto the text object.

NSTextMBS.textShouldEndEditing as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Text MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No
Invoked from a text object's implementation of resignFirstResponder, this method requests permission to end editing.

If the delegate returns false, the text object proceeds to finish editing and resign first responder status. If the delegate returns true, the text object selects all of its text and remains the first responder.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...