MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

NSTextViewMBS.acceptsGlyphInfo as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether the receiver accepts the glyph info attribute.
Notes:
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 computed property)
NSTextViewMBS.alignJustified
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Applies full justification to selected paragraphs (or all text, if the receiver is a plain text object).
NSTextViewMBS.allowsDocumentBackgroundColorChange as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Sets whether the receiver allows its background color to change.
Notes:
This corresponds to the background color of the entirety of the text view, not just to a selected range of text.
(Read and Write computed property)
NSTextViewMBS.allowsImageEditing as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether image attachments should permit editing of their images.
Notes:
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 computed property)
NSTextViewMBS.allowsUndo as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether undo support is enabled.
Notes: (Read and Write computed property)
NSTextViewMBS.AutomaticDashSubstitutionEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether automatic dash substitution is enabled.
Notes:
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 computed property)
NSTextViewMBS.AutomaticDataDetectionEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether automatic data detection is enabled.
Notes:
Automatic data detection enables detection of dates, addresses, and phone numbers.
Available in Mac OS X v10.6 and later.
(Read and Write computed property)
NSTextViewMBS.AutomaticLinkDetectionEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Enables or disables automatic link detection.
Notes:
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 computed property)
NSTextViewMBS.AutomaticQuoteSubstitutionEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether automatic quotation mark substitution is enabled.
Notes:
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 computed property)
NSTextViewMBS.AutomaticSpellingCorrectionEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether automatic spelling correction is enabled.
Notes:
Available in Mac OS X v10.6 and later.
(Read and Write computed property)
NSTextViewMBS.AutomaticTextReplacementEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether automatic text replacement is enabled.
Notes:
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 computed property)
NSTextViewMBS.backgroundColor as NSColorMBS
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The background color.
Notes: (Read and Write computed property)
NSTextViewMBS.breakUndoCoalescing
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Informs the receiver that it should begin coalescing successive typing operations in a new undo grouping.
Notes: This method should be invoked when saving the receiver's contents to preserve proper tracking of unsaved changes and the document's dirty state.
NSTextViewMBS.changeAttributes
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Changes the attributes of the current selection.
Notes:
This method changes the attributes by invoking convertAttributes: on sender and applying the returned attributes to the appropriate text. See the NSFontManager class reference for more information on attribute conversion.

Available in Mac OS X v10.3 and later.
NSTextViewMBS.changeColor
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Sets the color of the selected text.
NSTextViewMBS.changeDocumentBackgroundColor
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: An action method used to set the background color.
Notes:
This method gets the new color by sending a color message to sender.
This will only set the background color if allowsDocumentBackgroundColorChangereturns true.
NSTextViewMBS.checkTextInDocument
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Check text in document.
Notes: Available in Mac OS X v10.6 and later.
NSTextViewMBS.checkTextInSelection
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Check text in selection.
Notes: Available in Mac OS X v10.6 and later.
NSTextViewMBS.complete
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Invokes completion in a text view.
Notes: By default invoked using the Escape key, this method provides users with a choice of completions for the word currently being typed. May be invoked programmatically if autocompletion is desired by a client of the text system. You can change the key invoking this method using the text system's key bindings mechanism; see "Text System Defaults and Key Bindings" for an explanation of the procedure (on Apple website).
NSTextViewMBS.Constructor
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new text view with size 100/100 and position 0/0
Example:
dim t as new NSTextViewMBS
Notes: On success the handle property is not zero.

See also:

NSTextViewMBS.Constructor(Handle as Integer)
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates an object based on the given NSTextView handle.
Example:
dim t as new NSTextViewMBS(0, 0, 100, 100)
dim v as new NSTextViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)
Notes: The handle is casted to a NSTextView and the plugin retains this handle.

See also:

NSTextViewMBS.Constructor(left as double, top as double, width as double, height as double)
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 7.8, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new text view with the given size and position.
Example:
dim x as new NSTextViewMBS(0, 0, 100, 100)
Notes: On success the handle property is not zero.

See also:

NSTextViewMBS.ContinuousSpellCheckingEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether the receiver has continuous spell checking enabled.
Notes:
True if the receiver has continuous spell checking enabled, otherwise, false.
(Read and Write computed property)
NSTextViewMBS.defaultParagraphStyle as variant
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Gets or sets the receiver's default paragraph style.
Notes:
Use with NSParagraphStyleMBS class.
(Read and Write computed property)
NSTextViewMBS.displaysLinkToolTips as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute.
Notes:
True if link tooltips are automatically displayed; otherwise, false.

The default value for this feature is true; clients who do not wish tooltips to be displayed automatically must explicitly disable it.

Available in Mac OS X v10.5 and later.
(Read and Write computed property)
NSTextViewMBS.enabledTextCheckingTypes as Int64
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The default text checking types.
Notes:
Available in Mac OS X v10.6 and later.

Can be NSTextCheckingAllSystemTypes (&hffffffff) or NSTextCheckingAllCustomTypes (&hffffffff00000000) or NSTextCheckingAllTypes (&hffffffffffffffff).
(Read and Write computed property)
NSTextViewMBS.GrammarCheckingEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether or not grammar checking is enabled.
Notes:
Available on Mac OS X 10.5 or newer.
If grammar checking is enabled, then it is performed alongside spell checking, whenever the text view checks spelling, whether continuously or manually.
(Read and Write computed property)
NSTextViewMBS.insertionPointColor as NSColorMBS
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The color used to draw the insertion point.
Notes: (Read and Write computed property)
NSTextViewMBS.insertText(attributedString as NSAttributedStringMBS)
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Inserts text into the receiver's text at the insertion point if there is one, otherwise replacing the selection.
Example:
dim textView as NSTextViewMBS // your view
dim a as new NSMutableAttributedStringMBS

if a.initWithString( "Hello World. This is just a little test." ) then

Dim NSFont as NSFontMBS = NSFontMBS.fontWithName("Arial", 24.0)
Dim NSColor as NSColorMBS = NSColorMBS.blueColor
Dim NSRange as NSRangeMBS = NSMakeRangeMBS( 0, 20)
Dim NSAttributes as New Dictionary

NSAttributes.value(NSAttributedStringMBS.NSFontAttributeName) = NSFont
NSAttributes.value(NSAttributedStringMBS.NSForegroundColorAttributeName) = NSColor

a.addAttributes( NSAttributes, NSRange)

textView.insertText a

// replace text with new one:
'textView.textStorage.setAttributedString a

end if
Notes:
text: The string to insert. Can be either an string or an NSAttributedStringMBS object.

The inserted text is assigned the current typing attributes.

This method is the means by which text typed by the user enters an NSTextView. See the NSInputManager class and NSTextInput protocol specifications for more information.

This method is the entry point for inserting text typed by the user and is generally not suitable for other purposes. Programmatic modification of the text is best done by operating on the text storage directly. Because this method pertains to the actions of the user, the text view must be editable for the insertion to work.

See also:

NSTextViewMBS.insertText(text as string)
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Inserts text into the receiver's text at the insertion point if there is one, otherwise replacing the selection.
Notes:
text: The string to insert. Can be either an string or an NSAttributedStringMBS object.

The inserted text is assigned the current typing attributes.

This method is the means by which text typed by the user enters an NSTextView. See the NSInputManager class and NSTextInput protocol specifications for more information.

This method is the entry point for inserting text typed by the user and is generally not suitable for other purposes. Programmatic modification of the text is best done by operating on the text storage directly. Because this method pertains to the actions of the user, the text view must be editable for the insertion to work.

See also:

NSTextViewMBS.invalidateTextContainerOrigin
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Invalidates the calculated origin of the text container.
Notes: This method is invoked automatically; you should never need to invoke it directly. Usually called because the text view has been resized or the contents of the text container have changed.
NSTextViewMBS.isCoalescingUndo as boolean
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns whether undo coalescing is in progress.
Notes:
True if undo coalescing is in progress, otherwise false.
Available in OS X v10.6 and later.
NSTextViewMBS.layoutManager as NSLayoutManagerMBS
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the layout manager that lays out text for the receiver's text container.
Notes: The layout manager that lays out text for the receiver's text container, or nil if there's no such object, such as when a text view isn't linked into a group of text objects.
NSTextViewMBS.linkTextAttributes as dictionary
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Gets and sets the attributes used to draw the onscreen presentation of link text.
Notes:
A dictionary of attributes corresponding to the onscreen presentation of link text.

Link text attributes are applied as temporary attributes to any text with a link attribute. Candidates include those attributes that do not affect layout.

In applications created prior to OS X v10.3, the default value is an empty dictionary. In applications created with OS X v10.3 or greater, the default attributes specify blue text with a single underline and the pointing hand cursor.
(Read and Write computed property)
NSTextViewMBS.loosenKerning
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Increases the space between glyphs in the receiver's selection, or in all text if the receiver is a plain text view.
Notes: Kerning values are determined by the point size of the fonts in the selection.
NSTextViewMBS.lowerBaseline
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Lowers the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view.
Notes: As such, this method defines a more primitive operation than subscripting.
NSTextViewMBS.markedTextAttributes as dictionary
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Gets or sets the attributes used to draw marked text.
Notes:
A dictionary of attributes used to draw marked text. Text color, background color, and underline are the only supported attributes for marked text.
(Read and Write computed property)
NSTextViewMBS.orderFrontLinkPanel
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Brings forward a panel allowing the user to manipulate links in the text view.
Notes: Available in Mac OS X v10.4 and later.
NSTextViewMBS.orderFrontListPanel
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Brings forward a panel allowing the user to manipulate text lists in the text view.
Notes: Available in Mac OS X v10.4 and later.
NSTextViewMBS.orderFrontSpacingPanel
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Brings forward a panel allowing the user to manipulate text line heights, interline spacing, and paragraph spacing, in the text view.
Notes: Available in Mac OS X v10.4 and later.
NSTextViewMBS.orderFrontSubstitutionsPanel
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Orders the substitution panel to the front.
Notes: Available on Mac OS X 10.6 or newer.
NSTextViewMBS.orderFrontTablePanel
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Brings forward a panel allowing the user to manipulate text tables in the text view.
NSTextViewMBS.outline
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Adds the outline attribute to the selected text attributes if absent; removes the attribute if present.
Notes:
If there is a selection and the first character of the selected range has a non-zero stroke width, or if there is no selection and the typing attributes have a non-zero stroke width, then the stroke width is removed; otherwise the value of NSStrokeWidthAttributeName is set to the default value for outline (3.0).

Operates on the selected range if the receiver contains rich text. For plain text the range is the entire contents of the receiver.
NSTextViewMBS.pasteAsPlainText
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Inserts the contents of the pasteboard into the receiver's text as plain text.
Notes: This method behaves analogously to insertText.
NSTextViewMBS.pasteAsRichText
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: This action method inserts the contents of the pasteboard into the receiver's text as rich text, maintaining its attributes.
Notes: The text is inserted at the insertion point if there is one, otherwise replacing the selection.
NSTextViewMBS.performFindPanelAction
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Performs a find panel action specified by the sender's tag.
Notes: This is the generic action method for the find menu and find panel, and can be overridden to implement a custom find panel.
NSTextViewMBS.raiseBaseline
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Raises the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view.
Notes: As such, this method defines a more primitive operation than superscripting.
NSTextViewMBS.replaceTextContainer(textContainer as NSTextContainerMBS)
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact.
Notes: textContainer: The new text container. This method raises NSInvalidArgumentException if TextContainer is nil.
NSTextViewMBS.RulerVisible as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether the scroll view enclosing the text views sharing the receiver's layout manager shows its ruler.
Notes:
True if the scroll view enclosing the text views sharing the receiver's layout manager shows its ruler, false otherwise. The default is false.
(Read and Write computed property)
NSTextViewMBS.selectedTextAttributes as dictionary
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Gets or sets the attributes used to indicate the selection.
Notes:
A dictionary of attributes used to indicate the selection. Text color, background color, and underline are the only supported attributes for selected text.
(Read and Write computed property)
NSTextViewMBS.showFindIndicatorForRange(charRange as NSRangeMBS)
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Causes a temporary highlighting effect to appear around the visible portion (or portions) of the specified range.
Notes:
charRange: The character range around which indicators appear.

This method supports lozenge-style indication of find results. The indicators automatically disappear after a certain period of time, or when the method is called again, or when any of a number of changes occur to the view (such as changes to text, view size, or view position).

This method does not itself scroll the specified range to be visible; any desired scrolling should be done before this method is called, first, because the method acts only on the visible portion of the specified range, and, second, because scrolling causes the indicators to disappear. Calling this method with a zero-length range always removes any existing indicators.

Available in OS X v10.5 and later.
NSTextViewMBS.smartInsertDeleteEnabled as boolean
property, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Whether the view inserts or deletes space around selected words so as to preserve proper spacing and punctuation.
Notes: (Read and Write computed property)
NSTextViewMBS.spellCheckerDocumentTag as integer
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns a tag identifying the text view's text as a document for the spell checker server.
Notes: The document tag is obtained by sending a uniqueSpellDocumentTag message to the spell server the first time this method is invoked for a particular group of text views. See the NSSpellChecker and NSSpellServer class specifications for more information on how this tag is used.

Previous items

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




Links
MBS Real Studio Plugins