Platforms to show: All Mac Windows Linux Cross-Platform

Back to ScintillaStyleMBS class.

ScintillaStyleMBS.BackColor as Color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The text background color.

Text is drawn in the foreground colour. The space in each character cell that is not occupied by the character is drawn in the background colour.
(Read and Write property)

ScintillaStyleMBS.Bold as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether font is bold.

When you set this to true, the weight is set to kFontWeightBold, otherwise to kFontWeightNormal.
(Read and Write property)

ScintillaStyleMBS.CaseVisible as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The value of caseVisible determines how text is displayed.

You can set upper case (kCaseVisibleUpper, 1) or lower case (kCaseVisibleLower, 2) or camel case (kCaseVisibleCamel, 3) or display normally (kCaseVisibleMixed, 0). This does not change the stored text, only how it is displayed.
(Read and Write property)

ScintillaStyleMBS.Changeable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether this text is editable.

This is an experimental and incompletely implemented style attribute. The default setting is changeable set true but when set false it makes text read-only. The user can not move the caret within not-changeable text and not-changeable text may not be deleted by the user. The application may delete not-changeable text by calling DeleteRange().
(Read and Write property)

ScintillaStyleMBS.CheckMonospaced as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether font is mono spaced.

This attribute indicates that the font may be monospaced over the ASCII graphics characters (' ' … '~', including letters ('a'…'z', 'A'…'Z') and numbers ('0'…'9')). This allows optimizing speed and memory use for some common scenarios where documents are mostly composed from ASCII characters.
Fonts are rarely monospaced over all possible characters. Emoji '😃', Arabic characters 'ش' and Chinese ideographs '漢' are often different widths to Roman letters. Even when a font is designed as monospaced, not all characters may be present and platforms may substitute other fonts for any missing characters with the substitute characters taking more or less space. However, fonts are often reliably monospaced over ASCII text (disregarding control characters) and many documents contain mostly ASCII characters. This setting allows simplified position calculations for text runs that are purely ASCII graphics characters.
Before treating the font as monospaced, it is first checked over the ' ' … '~' range and for some known combinations of characters that may have different spacings because of kerning or ligatures. Applications may apply the 'check monospaced' attribute just to fonts known to be monospaced or on all fonts, leaving it to Scintilla to reject fonts that are proportional.
(Read and Write property)

ScintillaStyleMBS.Description as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The style description.

Retrieve an English-language description of a style which may be suitable for display in a user interface. This looks like "Doc comment: block comments beginning with /** or /*!".
(Read only property)

ScintillaStyleMBS.EOLFilled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether to fill till end of line.

If the last character in the line has a style with this attribute set, the remainder of the line up to the right edge of the window is filled with the background colour set for the last character. This is useful when a document contains embedded sections in another language such as HTML pages with embedded JavaScript. By setting eolFilled to true and a consistent background colour (different from the background colour set for the HTML styles) to all JavaScript styles then JavaScript sections will be easily distinguished from HTML.
(Read and Write property)

ScintillaStyleMBS.Font as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The fontName is a string holding the name of a font.
Example

dim c as ScintillaControlMBS // your control
Dim style As ScintillaStyleMBS = c.Style(ScintillaStyleMBS.kStylesCommonDefault)
// Set font to be system font
style.Font = SystemInformationMBS.SystemFont

Under Windows, only the first 32 characters of the name are used, the name is decoded as UTF-8, and the name is not case sensitive. For internal caching, Scintilla tracks fonts by name and does care about the casing of font names, so please be consistent. On GTK, Pango is used to display text and the name is sent directly to Pango without transformation. On Qt, the name is decoded as UTF-8. On Cocoa, the name is decoded as MacRoman.
(Read and Write property)

ScintillaStyleMBS.ForeColor as Color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The text foreground color.

Text is drawn in the foreground colour. The space in each character cell that is not occupied by the character is drawn in the background colour.
(Read and Write property)

ScintillaStyleMBS.HotSpot as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
This style is used to mark ranges of text that can detect mouse clicks.

The cursor changes to a hand over hotspots, and the foreground, and background colours may change and an underline appear to indicate that these areas are sensitive to clicking. This may be used to allow hyperlinks to other documents.
(Read and Write property)

ScintillaStyleMBS.Identifiers as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The identifiers associated to a sub style.

(Read and Write property)

ScintillaStyleMBS.Italic as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether this style uses an italic style.

(Read and Write property)

ScintillaStyleMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Retrieve the name of a style.

This is a C preprocessor symbol like "SCE_C_COMMENTDOC".
(Read only property)

ScintillaStyleMBS.Parent as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The parent control.

(Read only property)

ScintillaStyleMBS.Size as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The font size.

Sizes can be set to a whole number of points with Size property or to a fractional point size in hundredths of a point with SizeFractional property by multiplying the size by 100. For example, a text size of 9.4 points is set with SizeFractional = 940.
(Read and Write property)

ScintillaStyleMBS.SizeFractional as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The font size in 100th.

Sizes can be set to a whole number of points with Size property or to a fractional point size in hundredths of a point with SizeFractional property by multiplying the size by 100. For example, a text size of 9.4 points is set with SizeFractional = 940.
(Read and Write property)

ScintillaStyleMBS.Style as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The style number for this style.

(Read only property)

ScintillaStyleMBS.Tag as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The tag value.

A variable for you to put any reference information you like.
(Read only property)

ScintillaStyleMBS.Tags as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The tags of a style.

This is a space-separated set of words like "comment documentation".
(Read only property)

ScintillaStyleMBS.Underline as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
You can set a style to be underlined.

The underline is drawn in the foreground colour. All characters with a style that includes the underline attribute are underlined, even if they are white space.
(Read and Write property)

ScintillaStyleMBS.Visible as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether to show this text.

Text is normally visible. However, you can completely hide it by giving it a style with the visible set to 0. This could be used to hide embedded formatting instructions or hypertext keywords in HTML or XML. Invisible text may not be deleted by user actions but the application may delete invisible text by calling DeleteRange().
(Read and Write property)

ScintillaStyleMBS.Weight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The weight of the font.

The weight or boldness of a font can be set with Bold or Weight properties. The weight is a number between 1 and 999 with 1 being very light and 999 very heavy. While any value can be used, fonts often only support between 2 and 4 weights with three weights being common enough to have symbolic names: kFontWeightNormal (400), kFontWeightSemiBold (600), and kFontWeightBold (700).
(Read and Write property)

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


The biggest plugin in space...