Platforms to show: All Mac Windows Linux Cross-Platform

Back to ScintillaControlMBS control.

ScintillaControlMBS.ScrollWidth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
For performance, Scintilla does not measure the display width of the document to determine the properties of the horizontal scroll bar.

Instead, an assumed width is used. These messages set and get the document width in pixels assumed by Scintilla. The default value is 2000. To ensure the width of the currently visible lines can be scrolled use ScrollWidthTracking.
(Read and Write property)

ScintillaControlMBS.ScrollWidthTracking as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
If scroll width tracking is enabled then the scroll width is adjusted to ensure that all of the lines currently displayed can be completely scrolled.

This mode never adjusts the scroll width to be narrower.
(Read and Write property)

ScintillaControlMBS.SearchFlags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
These get and set the searchFlags used by SearchInTarget.

There are several option flags including a simple regular expression search.
See kFindOption* constants.
(Read and Write property)

ScintillaControlMBS.SelAlpha as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Sets or gets selection alpha value.

(Read and Write property)

ScintillaControlMBS.SelectedText as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
This copies the currently selected text.

This allows for rectangular and discontiguous selections as well as simple selections. See Multiple Selection for information on how multiple and rectangular selections and virtual space are copied.
(Read only property)

ScintillaControlMBS.SelectionEmpty as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Return true if every selected range is empty else false.

This can be used as CanCopy or CanCut for building menu.
(Read only property)

ScintillaControlMBS.SelectionEnd 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 end position of the selection.

SelectionStart and SelectionEnd return the start and end of the selection without regard to which end is the current position and which is the anchor. SelectionStart returns the smaller of the current position or the anchor position. SelectionEnd returns the larger of the two values.

Assign new value to set the selection based on the assumption that the anchor position is less than the current position.
(Read and Write property)

ScintillaControlMBS.SelectionHidden as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 26.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether the selection is hidden.

The normal state is to make the selection visible by drawing it as set by SetSelBackColor, SetSelForeColor, and related calls. However, if you hide the selection, it is drawn as normal text.
(Read only property)

ScintillaControlMBS.SelectionIsRectangle 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 returns true if the current selection is in rectangle mode, false if not.

(Read only property)

ScintillaControlMBS.SelectionLayer 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 selection background can be drawn translucently over the text or opaquely on the base layer.

See kLayer* constants.
(Read and Write property)

ScintillaControlMBS.SelectionMode 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 selection mode.

Can be stream (kSelectionModeStream=0) or rectangular (kSelectionModeRectangle=1) or by lines (kSelectionModeLines=2) or thin rectangular (kSelectionModeThin=3). When set in these modes, regular caret moves will extend or reduce the selection, until the mode is cancelled by a call with same value or with Cancel. The get function returns the current mode even if the selection was made by mouse or with regular extended moves. SC_SEL_THIN is the mode after a rectangular selection has been typed into and ensures that no characters are selected.
(Read and Write property)

ScintillaControlMBS.Selections as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Return the number of selections currently active.

There is always at least one selection.
(Read only property)

ScintillaControlMBS.SelectionSerialized as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 26.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Set or query the selection type and positions as a serialized string. The format of this string may change in future versions so should not be persisted beyond the current session.

The format is currently
[selType:R|L|T] [# mainRange ,] [anchor [v virtualSpace] [- caret [v virtualSpace]]] [, ...]
Example of a multiple selection with virtual space: #1,5v3-2,1
(Read and Write property)

ScintillaControlMBS.SelectionSpan as ScintillaSpanMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Queries selection start and end as a span object.

(Read only property)

ScintillaControlMBS.SelectionStart 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 start position of the selection.

SelectionStart and SelectionEnd return the start and end of the selection without regard to which end is the current position and which is the anchor. SelectionStart returns the smaller of the current position or the anchor position. SelectionEnd returns the larger of the two values.

Assign new value to set the selection based on the assumption that the anchor position is less than the current position.
(Read and Write property)

ScintillaControlMBS.SelEOLFilled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The selection can be drawn up to the right hand border by setting this property.

(Read and Write property)

ScintillaControlMBS.ShowInfoBar 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 info bar on macOS.

Defaults to true.
The info bar allows you to show a status message and to do zoom levels.
(Read and Write property)

ScintillaControlMBS.Status as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
If an error occurs, Scintilla may set an internal error number that can be retrieved with this property.

To clear the error status call SCI_SETSTATUS(0). Status values from 1 to 999 are errors and status kStatusWarnStart (1000) and above are warnings.
See kStatus* constants.
(Read and Write property)

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


The biggest plugin in space...