Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSAttributedStringMBS.NSSpellingStateGrammarFlag = 1
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the constants for spelling state.
Notes: Flag for grammar issues.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSSpellingStateSpellingFlag = 0
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the constants for spelling state.
Notes: Flag for spelling issues.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlineByWord = &h8000
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw the line only underneath or through words, not whitespace.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlinePatternDash = &h0200
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a line of dashes.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlinePatternDashDot = &h0300
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a line of alternating dashes and dots.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlinePatternDashDotDot = &h0400
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a line of alternating dashes and two dots.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlinePatternDot = &h0100
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a line of dots.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlinePatternSolid = 0
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a solid line.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlineStyleDouble = 9
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a double line.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlineStyleNone = 0
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Do not draw a line.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlineStyleSingle = 1
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Example:
// underline selected text in TextArea1

dim t as NSTextViewMBS = TextArea1.NSTextViewMBS
dim s as NSTextStorageMBS = t.textStorage

dim d as Dictionary = t.selectedTextAttributes
d.Value(NSAttributedStringMBS.NSStrikethroughStyleAttributeName) = s.NSUnderlineStyleSingle
t.selectedTextAttributes = d
Notes: Draw a single line.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSUnderlineStyleThick = 2
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the underline constants.
Notes: Draw a thick line.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSWritingDirectionEmbedding = 0
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the writing direction constants.
Notes: Text is embedded in text with another writing direction. For example, an English quotation in the middle of an Arabic sentence could be marked as being embedded left-to-right text.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSWritingDirectionOverride = 1
Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 17.4
Function: One of the writing direction constants.
Notes: Enables character types with inherent directionality to be overridden when required for special cases, such as for part numbers made of mixed English, digits, and Hebrew letters to be written from right to left.

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos