Scribus
Open source desktop publishing at your fingertips
SWSyntaxHighlighter Class Reference

#include <swsyntaxhighlighter.h>

Inheritance diagram for SWSyntaxHighlighter:
Collaboration diagram for SWSyntaxHighlighter:

Public Member Functions

 SWSyntaxHighlighter (QTextEdit *textEdit)
 
void highlightBlock (const QString &text)
 

Detailed Description

Simple syntax highlighting for configuration editor (QTextEdit).

Author
Petr Vanek, petr@.nosp@m.yarp.nosp@m.en.cz

Member Function Documentation

void SWSyntaxHighlighter::highlightBlock ( const QString &  text)

Reimplementation of the Qt highligtion for simple cfg file

Parameters
textstring (one row) provided by text editor via QSyntaxHighlighter inheritance.

The documentation for this class was generated from the following files: