mirror of
				https://github.com/fralx/LimeReport.git
				synced 2025-10-31 13:21:22 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			375 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			375 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef LRSCRIPTHIGHLIGHTER_H
 | |
| #define LRSCRIPTHIGHLIGHTER_H
 | |
| 
 | |
| #include <QSyntaxHighlighter>
 | |
| 
 | |
| namespace LimeReport{
 | |
| 
 | |
| class ScriptHighlighter : QSyntaxHighlighter{
 | |
| public:
 | |
|     ScriptHighlighter(QTextDocument* parent): QSyntaxHighlighter(parent){}
 | |
|     // QSyntaxHighlighter interface
 | |
| protected:
 | |
|     void highlightBlock(const QString& text);
 | |
| };
 | |
| 
 | |
| }
 | |
| #endif // LRSCRIPTHIGHLIGHTER_H
 |