Platforms to show: All Mac Windows Linux Cross-Platform

Back to ScintillaControlMBS control.

Previous items

ScintillaControlMBS.TextChanged(Position as Integer, modificationType as Integer, Text as String, length as Integer, linesAdded as Integer, line as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
Text changed.

Our plugin calls this to inform you about a text change.
No modifications may be performed while in a Modified event.
Modified event will also be raised.

ScintillaControlMBS.UpdateUI(updated as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
Either the text or styling of the document has changed or the selection range or scroll position may have changed.

Now would be a good time to update any container UI elements that depend on document or view state. As it is sometimes difficult to determine whether a change has occurred, these events may also fire when there has been no actual change. The updated field is set to the bit set of things changed since the previous notification.

See kUpdate* constants.

ScintillaControlMBS.URIDropped(text as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
Indicates that the user has dragged a URI such as a file name or Web address onto Scintilla.

The container could interpret this as a request to open the file.

ScintillaControlMBS.UserListSelection(Position as Integer, Character as Integer, Text as String, listType as Integer, listCompletionMethod as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
The user has selected an item in a user list.

FieldUsage
listTypeThis is set to the listType parameter from the UserListShow message that initiated the list.
textThe text of the selection.
positionThe position the list was displayed at.
CharacterIf a fillup character was the method of selection, the used character, otherwise 0.
listCompletionMethodA value indicating the way in which the completion occurred.

ScintillaControlMBS.Zoom

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
This event is generated when the user zooms the display using the keyboard or the Zoom method is called.

This event can be used to recalculate positions, such as the width of the line number margin to maintain sizes in terms of characters rather than pixels.

See also:

Previous items

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


The biggest plugin in space...