Qt syntax highlighter for widespread languages. More...
#include <qt_syntax_highlighter.hpp>
Classes | |
struct | highlighting_rule |
Public Member Functions | |
Special member functions | |
qt_syntax_highlighter (QTextDocument *p) throw () | |
The only available constructor. | |
~qt_syntax_highlighter () throw () | |
Destructor. | |
language | |
| |
void | set_language (const std::string &s) throw () |
Sets the language for highlighting. |
Qt syntax highlighter for widespread languages.
Extension of QSyntaxHighlighter to highlight widespread languages. Current supported languages are
instigate::toolkit::qt_syntax_highlighter::qt_syntax_highlighter | ( | QTextDocument * | p | ) | throw () |
The only available constructor.
p | Text Document |
void instigate::toolkit::qt_syntax_highlighter::set_language | ( | const std::string & | s | ) | throw () |
Sets the language for highlighting.
s | The language to highlight |
s
should be one of cpp, verilog, vhdl, tcl, python