KDE3Support
K3SyntaxHighlighter Class Reference
Syntax sensitive text highlighter. More...
#include <k3syntaxhighlighter.h>
Inheritance diagram for K3SyntaxHighlighter:

Public Types | |
enum | SyntaxMode { PlainTextMode, RichTextMode } |
Public Member Functions | |
int | highlightParagraph (const QString &text, int endStateOfLastPara) |
K3SyntaxHighlighter (Q3TextEdit *textEdit, bool colorQuoting=false, const QColor &QuoteColor0=Qt::black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00), SyntaxMode mode=PlainTextMode) | |
~K3SyntaxHighlighter () |
Detailed Description
Syntax sensitive text highlighter.Definition at line 40 of file k3syntaxhighlighter.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
K3SyntaxHighlighter::K3SyntaxHighlighter | ( | Q3TextEdit * | textEdit, | |
bool | colorQuoting = false , |
|||
const QColor & | QuoteColor0 = Qt::black , |
|||
const QColor & | QuoteColor1 = QColor( 0x00, 0x80, 0x00 ) , |
|||
const QColor & | QuoteColor2 = QColor( 0x00, 0x80, 0x00 ) , |
|||
const QColor & | QuoteColor3 = QColor( 0x00, 0x80, 0x00 ) , |
|||
SyntaxMode | mode = PlainTextMode | |||
) |
Definition at line 120 of file k3syntaxhighlighter.cpp.
K3SyntaxHighlighter::~K3SyntaxHighlighter | ( | ) |
Definition at line 140 of file k3syntaxhighlighter.cpp.
Member Function Documentation
int K3SyntaxHighlighter::highlightParagraph | ( | const QString & | text, | |
int | endStateOfLastPara | |||
) |
Reimplemented from Q3SyntaxHighlighter.
Reimplemented in K3SpellingHighlighter.
Definition at line 145 of file k3syntaxhighlighter.cpp.
The documentation for this class was generated from the following files: