Platforms to show: All Mac Windows Linux Cross-Platform

Back to ScintillaLoaderMBS class.

ScintillaLoaderMBS.AddData(data as MemoryBlock) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The application should call the AddData method with each block of data read from the file.

AddData will return kStatusOk unless a failure, such as memory exhaustion occurs. If a failure occurs in AddData or in a file reading call then loading can be abandoned and the loader released with the Release call. When the whole file has been read, Finished should be called to load the final document into the control.
There is no need to call Release after ConvertToDocument.

See also:

ScintillaLoaderMBS.AddData(data as String) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The application should call the AddData method with each block of data read from the file.

AddData will return kStatusOk unless a failure, such as memory exhaustion occurs. If a failure occurs in AddData or in a file reading call then loading can be abandoned and the loader released with the Release call. When the whole file has been read, Finished should be called to load the final document into the control.
There is no need to call Release after ConvertToDocument.

See also:

ScintillaLoaderMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The private constructor.

ScintillaLoaderMBS.Finished as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Finishes the document loading.

Returns true on success.

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


The biggest plugin in space...