Table of Contents
MATE is the internal text editor for MeVisLab. MATE is an acronym that stands for MeVisLab Advanced Text Editor.
It also supports HTML, CSS, and XML with simple syntax highlighting.
Additionally, MATE has a built-in debugger for Python scripting, a GUI editor for module panels, and functions as an editor for help files for modules (.mhelp).
For .mhelp, HTML, CSS, and XML, the editor checks the spelling of written text using hunspell.
Besides all this built-in functionality, MATE offers a scripting API to configure MATE on startup by user written Python scripting, as well as adding new features to MATE's GUI by writing Python user scripts, similar to Section 4.8, “User Scripts”
MATE also offers direct access to a module's panel and automatic panel, and related files via the Module menu.
For quick scripting, a scripting console is available.
The following file types are supported:
MDL files, namely
.dat (MeVisLab license files written in MDL)
.def (MeVisLab module definition)
.mhelp (MeVisLab module help file, see Section 26.9, “Module Help Editor”)
.mlab (MeVisLab network)
.prefs (MeVisLab preferences file, for packages or other purposes)
.script (MeVisLab MDL script)
Other MeVisLab specific files
.mli (Installer specification used by the ADK add-on)
.prf (QMake files for C++ projects)
.css (Cascading Style Sheets)
.xml (Extensible Markup Language)
.txt (Generic text files)
Open MATE via File → Show Integrated Text Editor (to start it without files) or File → Open File in Integrated Text Editor (to start it with a file dialog for selecting a file).
MATE is also used as editor for source code by default (can be changed in the Preferences, see Section 4.3.4, “Preferences — Supportive Programs”). For example
in the context menu of a module, when selecting one of the possibly available
when clicking a link to a license
.dat file or a module
.def file in the Debug Output of MeVisLab.
MATE runs in a process separate from MeVisLab. This allows using it for Python debugging, see Section 26.8, “Python Debugger”.
© 2021 MeVis Medical Solutions AG