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

Previous items

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

Function: Speaks the selected text, or all text if no selection.
NSTextViewMBS.stopSpeaking
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Stops the speaking of text.
NSTextViewMBS.textContainer as NSTextContainerMBS
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: The text container.
Notes:
The receiver uses the layout manager and text storage of aTextContainer.

Special Considerations
This method is invoked automatically when you create a text view; you should never invoke it directly, but might want to override it. To change the text view for an established group of text system objects, use TextView setter on the text container. To replace the text container for a text view and maintain the view's association with the existing layout manager and text storage, use replaceTextContainer.
(Read and Write computed property)
NSTextViewMBS.textContainerInset as NSSizeMBS
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 empty space the receiver leaves around its text container.
Notes:
It is possible to set the text container and view sizes and resizing behavior so that the inset cannot be maintained exactly, although the text system tries to maintain the inset wherever possible. In any case, the textContainerOrigin and size of the text container are authoritative as to the location of the text container within the view.

The text itself can have an additional inset, inside the text container, specified by the setLineFragmentPadding method of NSTextContainer.
(Read and Write computed property)
NSTextViewMBS.textContainerOrigin as NSPointMBS
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: Returns the origin of the receiver's text container.
Notes: The origin of the receiver's text container, which is calculated from the receiver's bounds rectangle, container inset, and the container's used rect.
NSTextViewMBS.textStorage as NSTextStorageMBS
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: Returns the receiver's text storage object.
NSTextViewMBS.tightenKerning
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: Decreases the space between glyphs in the receiver's selection, or for all glyphs if the receiver is a plain text view.
Notes: Kerning values are determined by the point size of the fonts in the selection.
NSTextViewMBS.toggleAutomaticDashSubstitution
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: Toggles automatic dash substitution.
Notes: Available on Mac OS X 10.6 or newer.
NSTextViewMBS.toggleAutomaticDataDetection
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: Toggles automatic data detection.
Notes: Available on Mac OS X 10.6 or newer.
NSTextViewMBS.toggleAutomaticLinkDetection
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Changes the state of automatic link detection from enabled to disabled and vice versa.
Notes:
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.
NSTextViewMBS.toggleAutomaticQuoteSubstitution
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Changes the state of automatic quotation mark substitution from enabled to disabled and vice versa.
Notes:
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.
NSTextViewMBS.toggleAutomaticSpellingCorrection
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: Toggles automatic spelling correction.
Notes: Available on Mac OS X 10.6 or newer.
NSTextViewMBS.toggleAutomaticTextReplacement
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: Toggles automatic text replacements.
Notes: Available on Mac OS X 10.6 or newer.
NSTextViewMBS.toggleContinuousSpellChecking
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Toggles whether continuous spell checking is enabled for the receiver.
NSTextViewMBS.toggleGrammarChecking
method, Cocoa, MBS Real Studio Cocoa Plugin (NSText), class NSTextViewMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Changes the state of grammar checking from enabled to disabled and vice versa.
Notes: Available in Mac OS X v10.5 and later.
NSTextViewMBS.toggleSmartInsertDelete
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: Changes the state of smart insert and delete from enabled to disabled and vice versa.
Notes:
Controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation.

Available in Mac OS X v10.5 and later.
NSTextViewMBS.toggleTraditionalCharacterShape
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: Toggles the NSCharacterShapeAttributeName attribute at the current selection.
NSTextViewMBS.turnOffKerning
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: Sets the receiver to use nominal glyph spacing for the glyphs in its selection, or for all glyphs if the receiver is a plain text view.
NSTextViewMBS.turnOffLigatures
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: Sets the receiver to use only required ligatures when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it's a plain text view.
NSTextViewMBS.typingAttributes 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: Get or set typing attributes.
Notes:
Typing attributes are reset automatically whenever the selection changes. However, if you add any user actions that change text attributes, the action should use this method to apply those attributes afterwards. User actions that change attributes should always set the typing attributes because there might not be a subsequent change in selection before the next typing.
(Read and Write computed property)
NSTextViewMBS.updateDragTypeRegistration
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: Updates the acceptable drag types of all text views associated with the receiver's layout manager.
Notes:
If the receiver is editable and is a rich text view, causes all text views associated with the receiver's layout manager to register their acceptable drag types. If the text view isn't editable or isn't rich text, causes those text views to unregister their dragged types.

Subclasses can override this method to change the conditions for registering and unregistering drag types, whether as a group or individually based on the current state of the text view. They should invoke this method when that state changes to perform the necessary update.
NSTextViewMBS.updateFontPanel
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: Updates the Font panel to contain the font attributes of the selection.
Notes: Does nothing if the receiver doesn't use the Font panel. You should never need to invoke this method directly, but you can override it if needed to handle additional font attributes.
NSTextViewMBS.updateRuler
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: Updates the ruler view in the receiver's enclosing scroll view to reflect the selection's paragraph and marker attributes.
Notes: Does nothing if the ruler isn't visible or if the receiver doesn't use the ruler. You should never need to invoke this method directly, but you can override this method if needed to handle additional ruler attributes.
NSTextViewMBS.useAllLigatures
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: Sets the receiver to use all ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it's a plain text view.
NSTextViewMBS.usesFindPanel 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 allows for a find panel.
Notes: (Read and Write computed property)
NSTextViewMBS.usesFontPanel 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: Controls whether the text views sharing the receiver's layout manager use the Font panel and Font menu.
Notes: (Read and Write computed property)
NSTextViewMBS.usesRuler 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 views sharing the receiver's layout manager use a ruler.
Notes:
True to cause text views sharing the receiver's layout manager to respond to NSRulerView client messages and to paragraph-related menu actions, and update the ruler (when visible) as the selection changes with its paragraph and tab attributes, otherwise false.

Text views must use a ruler to respond to Format menu commands. If a set of text views don't use the ruler, the ruler is hidden, and the text views disallow paragraph attribute changes. By default, text view objects use the ruler.
(Read and Write computed property)
NSTextViewMBS.useStandardKerning
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: Set the receiver to use pair kerning data for the glyphs in its selection, or for all glyphs if the receiver is a plain text view.
NSTextViewMBS.useStandardLigatures
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: Sets the receiver to use the standard ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it's a plain text view.

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




Links
Bilder aus Nickenich