Platforms to show: All Mac Windows Linux Cross-Platform

NSTextViewMBS.shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
event, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 10.1, Mac: Yes, Win: No, Linux: No, Console & Web: No, Feedback.

Function: Sent when a text view needs to determine if text in a specified range should be changed.
Notes:
affectedCharRange: The range of characters to be replaced.
replacementString: The characters that will replace the characters in affectedCharRange; nil if only text attributes are being changed.

Return true to allow the replacement, or false to reject the change.
NSTextViewMBS.textViewDidChangeSelection
event, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: No, Feedback.

Function: Sent when the selection changes in the text view.

Next items

The items on this page are in the following plugins: MBS Real Studio Cocoa Plugin.




Links
MBS REAL studio tutorial videos