Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTextViewMBS class.

NSTextViewMBS.acceptsGlyphInfo as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver accepts the glyph info attribute.

True if the receiver should accept the NSGlyphInfoAttributeName attribute from text input sources such as input methods and the pasteboard, false otherwise.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.allowedWritingToolsResultOptions as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 24.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
What types of results are allowed for writing tools.
Example
Var n As NSTextViewMBS = TextArea1.NSTextViewMBS

n.allowedWritingToolsResultOptions = n.NSWritingToolsResultPlainText
n.writingToolsBehavior = n.NSWritingToolsBehaviorComplete

This is whether Apple Intelligence may add text, rich text, lists or tables to the text content.
Requires macOS 15.0 or iOS 18.0 or newer.
(Read and Write property)

NSTextViewMBS.allowsDocumentBackgroundColorChange as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets whether the receiver allows its background color to change.

This corresponds to the background color of the entirety of the text view, not just to a selected range of text.
(Read and Write property)

NSTextViewMBS.allowsImageEditing as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether image attachments should permit editing of their images.

True if image editing is allowed; otherwise, false.

For image editing to be allowed, the text view must be editable and the text attachment cell must support image editing.

Available in Mac OS X v10.5 and later.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.allowsUndo as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether undo support is enabled.

(Read and Write property)

NSTextViewMBS.AutomaticDashSubstitutionEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 11.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether automatic dash substitution is enabled.
Example
Sub CellGotFocus(row as Integer, column as Integer) Handles CellGotFocus
// disable dash subsitution for current cell
Var v As Variant = Me.ActiveCell
if v isa TextArea then
Var t As TextArea = v
Var n As NSTextViewMBS = t.NSTextViewMBS
n.AutomaticDashSubstitutionEnabled = False
End If
End

Turning on automatic dash substitution enables automatic conversion of sequences of ASCII hyphen (-) characters to typographic dashes.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.AutomaticDataDetectionEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 11.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether automatic data detection is enabled.

Automatic data detection enables detection of dates, addresses, and phone numbers.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.AutomaticLinkDetectionEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Enables or disables automatic link detection.

If true, automatic link detection is enabled; if false, it is disabled.

Automatic link detection causes strings representing URLs typed in the view to be automatically made into links to those URLs.

Available in Mac OS X v10.5 and later.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.AutomaticQuoteSubstitutionEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether automatic quotation mark substitution is enabled.

True if automatic quotation mark substitution is enabled; otherwise, false.

Automatic quote substitution causes ASCII quotation marks and apostrophes to be automatically replaced, on a context-dependent basis, with more typographically accurate symbols.

Available in Mac OS X v10.5 and later.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.AutomaticSpellingCorrectionEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 11.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether automatic spelling correction is enabled.

Available in Mac OS X v10.6 and later.
(Read and Write property)

Some examples using this property:

NSTextViewMBS.AutomaticTextReplacementEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 11.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether automatic text replacement is enabled.

Turning on automatic text replacement enables automatic substitution of a variety of static text items based on user preferences.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Some examples using this property:

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


The biggest plugin in space...