Platforms to show: All Mac Windows Linux Cross-Platform
Back to DesktopScintillaControlMBS control.
DesktopScintillaControlMBS.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 |
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)
DesktopScintillaControlMBS.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 |
This mode never adjusts the scroll width to be narrower.
(Read and Write property)
DesktopScintillaControlMBS.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 |
There are several option flags including a simple regular expression search.
See kFindOption* constants.
(Read and Write property)
DesktopScintillaControlMBS.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 |
(Read and Write property)
DesktopScintillaControlMBS.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 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)
DesktopScintillaControlMBS.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 |
This can be used as CanCopy or CanCut for building menu.
(Read only property)
DesktopScintillaControlMBS.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 |
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)
DesktopScintillaControlMBS.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 |
(Read only property)
DesktopScintillaControlMBS.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 |
See kLayer* constants.
(Read and Write property)
DesktopScintillaControlMBS.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 |
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)
DesktopScintillaControlMBS.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 |
There is always at least one selection.
(Read only property)
DesktopScintillaControlMBS.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 |
(Read only property)
DesktopScintillaControlMBS.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 |
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)
DesktopScintillaControlMBS.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 |
(Read and Write property)
DesktopScintillaControlMBS.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 |
Defaults to true.
The info bar allows you to show a status message and to do zoom levels.
(Read and Write property)
DesktopScintillaControlMBS.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 |
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)
DesktopScintillaControlMBS.TabDrawMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
See kTabDrawMode* constants.
(Read and Write property)
DesktopScintillaControlMBS.TabIndents as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Inside indentation white space, the tab and backspace keys can be made to indent and unindent rather than insert a tab character or delete a character with the TabIndents and BackSpaceUnIndents functions.
(Read and Write property)
DesktopScintillaControlMBS.TabMinimumWidth 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 default value is 2. This is particularly useful with proportional fonts with fractional widths where the character before the tab may end a fraction of a pixel before a tab stop, causing the tab to only be a fraction of a pixel wide without this setting. Where displaying a miniaturized version of the document, setting this to 0 may make the miniaturized version lay out more like the normal size version.
(Read and Write property)
DesktopScintillaControlMBS.TabWidth 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 default tab width is 8 characters. There are no limits on tab sizes, but values less than 1 or large values may have undesirable effects.
(Read and Write property)
DesktopScintillaControlMBS.TargetEnd as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read and Write property)
DesktopScintillaControlMBS.TargetEndVirtualSpace as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
This allows text to be inserted in virtual space more easily.
(Read and Write property)
DesktopScintillaControlMBS.TargetSpan as ScintillaSpanMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read and Write property)
DesktopScintillaControlMBS.TargetStart as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
This allows text to be inserted in virtual space more easily.
When searching you can set start greater than end to find the last matching text in the target rather than the first matching text.
The target is also set by a successful by SearchInTarget.
(Read and Write property)
DesktopScintillaControlMBS.TargetStartVirtualSpace as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
When searching you can set start greater than end to find the last matching text in the target rather than the first matching text.
(Read and Write property)
DesktopScintillaControlMBS.TargetText as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read only property)
DesktopScintillaControlMBS.Technology as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
On most platforms, the only choice is kTechnologyDefault (0). On Windows Vista or later, kTechnologyDirectWrite (1), kTechnologyDirectWriteRetain (2), or kTechnologyDirectWriteDC (3) can be chosen to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing. kTechnologyDirectWriteRetain differs from kTechnologyDirectWrite by requesting that the frame is retained after being presented which may prevent drawing failures on some cards and drivers. kTechnologyDirectWriteDC differs from kTechnologyDirectWrite by using DirectWrite to draw into a GDI DC.
On Win32, buffered drawing is set to a reasonable value for the technology: on for GDI and off for Direct2D as Direct2D performs its own buffering. This can be changed after setting technology with BufferDraw property.
When using DirectWrite, you can use FontLocale to set an appropriate font locale to draw text with expected language-dependent glyphs.
(Read and Write property)
DesktopScintillaControlMBS.Text as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read and Write property)
DesktopScintillaControlMBS.TextLength as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read only property)
DesktopScintillaControlMBS.UndoCollection as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Set to true to collect information and false to stop collecting. If you stop collection, you should also use EmptyUndoBuffer to avoid the undo buffer being unsynchronized with the data in the buffer.
You might wish to turn off saving undo information if you use the Scintilla to store text generated by a program (a Log view) or in a display window where text is often deleted and regenerated.
(Read and Write property)
The items on this page are in the following plugins: MBS Scintilla Plugin.