![]() |
Scanframe Modular Application 0.1.0
|
Highlighter of a document class used by edit widgets. More...
#include <ScriptHighlighter.h>
Public Member Functions | |
ScriptHighlighter (ScriptInterpreter *script, QTextDocument *document) | |
Constructor. | |
Protected Member Functions | |
void | highlightBlock (const QString &text) override |
Highlighter of a document class used by edit widgets.
Highlights the document according the passed script interpreter.
|
explicit |
Constructor.
script | Script interpreter derived class. |
document | Document from a edit widget for example. |
|
overrideprotected |