Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSTextMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Text | MBS MacCocoa Plugin | 7.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
For performance reasons, this method returns the current backing store of the text object. If you want to maintain a snapshot of this as you manipulate the text storage, you should make a copy of the appropriate substring.
(Read and Write computed property)
NSTextMBS.textColor as NSColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
NSTextMBS.textLength as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 12.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If there is a selection and the first character of the selected range has any form of underline on it, or if there is no selection and the typing attributes have any form of underline, then underline is removed; otherwise a single simple underline is added.
Operates on the selected range if the receiver contains rich text. For plain text the range is the entire contents of the receiver.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
NSTextMBS.usesFontPanel as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Text | MBS MacCocoa Plugin | 7.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
NSTextMBS.writeRTFDToFile(file as folderitem, atomically as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Text | MBS MacCocoa Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true on success and false on failure. If atomically is true, attempts to write the file safely so that an existing file at path is not overwritten, nor does a new file at path actually get created, unless the write is successful.
The items on this page are in the following plugins: MBS MacCocoa Plugin.