![]() |
Stellarium
24.4
|
This class is used to colorize the ECMAScript syntax elements in the Scripting Console. More...
#include <StelScriptSyntaxHighlighter.hpp>
Public Member Functions | |
StelScriptSyntaxHighlighter (QTextDocument *parent=Q_NULLPTR) | |
void | setFormats (void) |
Protected Member Functions | |
void | highlightBlock (const QString &text) override |
This class is used to colorize the ECMAScript syntax elements in the Scripting Console.
It marks keywords, function names, literals, etc. All StelModules and public slots from StelModules are colorized. Single non-module objects registered with the StelScriprMgr are not highlighted, but their methods are.