Platforms to show: All Mac Windows Linux Cross-Platform
Back to ScintillaControlMBS control.
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 |
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 |
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 |
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 |
Field | Usage |
listType | This is set to the listType parameter from the UserListShow message that initiated the list. |
text | The text of the selection. |
position | The position the list was displayed at. |
Character | If a fillup character was the method of selection, the used character, otherwise 0. |
listCompletionMethod | A value indicating the way in which the completion occurred. |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Scintilla | MBS Scintilla Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
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:
The items on this page are in the following plugins: MBS Scintilla Plugin.