Scribus
Open source desktop publishing at your fingertips
swsyntaxhighlighter.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef SWSYNTAXHIGHLIGHTER_H
8 #define SWSYNTAXHIGHLIGHTER_H
9 
10 #include <QSyntaxHighlighter>
11 #include <QTextEdit>
12 
16 class SWSyntaxHighlighter : public QSyntaxHighlighter
17 {
18  public:
19  SWSyntaxHighlighter(QTextEdit *textEdit);
20 
24  void highlightBlock(const QString &text);
25 };
26 
27 #endif
void highlightBlock(const QString &text)
Definition: swsyntaxhighlighter.cpp:19
Definition: swsyntaxhighlighter.h:16