Platforms to show: All Mac Windows Linux Cross-Platform

Back to ScintillaControlMBS control.

ScintillaControlMBS.LexerNameFromID(ID as Integer) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Scintilla MBS Scintilla Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Queries name of lexer with given ID.
Example
// constants in LexerConstants.txt in our examples folder
Const SCLEX_HTML = 4

Dim s As String = ScintillaControlMBS.LexerNameFromID(SCLEX_HTML)
MessageBox s

ScintillaControlMBS.LexerNames as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Scintilla MBS Scintilla Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Queries list of built-in lexers.

Current list is:

a68k, abaqus, ada, apdl, as, asm, asn1, asy, au3, ave, avs, baan, bash, batch, bib, blitzbasic, bullant, caml, cil, clarion, clarionnocase, cmake, COBOL, coffeescript, conf, cpp, cppnocase, csound, css, d, dataflex, diff, DMAP, DMIS, ecl, edifact, eiffel, eiffelkw, erlang, errorlist, escript, f77, flagship, forth, fortran, freebasic, fsharp, gap, gui4cli, haskell, hollywood, hypertext, ihex, indent, inno, json, julia, kix, kvirc, latex, lisp, literatehaskell, lot, lout, lua, magiksf, makefile, markdown, matlab, maxima, metapost, mmixal, modula, mssql, mysql, nim, nimrod, nncrontab, nsis, null, octave, opal, oscript, pascal, powerbasic, perl, phpscript, PL/M, po, pov, powerpro, powershell, abl, props, ps, purebasic, python, r, raku, rebol, registry, ruby, rust, sas, scriptol, smalltalk, SML, sorcins, specman, spice, sql, srec, stata, fcST, TACL, tads3, TAL, tcl, tcmd, tehex, tex, txt2tags, vb, vbscript, verilog, vhdl, visualprolog, x12, xml, yaml, xojo.

ScintillaControlMBS.lexillaLibraryLoaded as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether the lexilla library got loaded.

Returns true if you loaded lexilla dylib/dll/so file.

ScintillaControlMBS.LoadFramework(path as folderitem) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Loads the framework.

You can load Scintilla framework on macOS.
Returns true on success.

ScintillaControlMBS.LoadLibrary(path as folderitem) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Loads the library.

You can load lexer and scintilla libraries here.
Returns true on success.

ScintillaControlMBS.scintillaLibraryLoaded as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Scintilla MBS Scintilla Plugin 22.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether the scintilla library got loaded.

Returns true on MacOS when you loaded the Scintilla.framework before.
Returns true if you loaded Scintilla.dll on Windows or Scintilla.so on Linux.

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


The biggest plugin in space...