KDE3Support
K3SyntaxHighlighter Class Reference
#include <k3syntaxhighlighter.h>
Inheritance diagram for K3SyntaxHighlighter:

Public Types | |
| enum | SyntaxMode { PlainTextMode, RichTextMode } |
Public Member Functions | |
| 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 () | |
| int | highlightParagraph (const QString &text, int endStateOfLastPara) |
Detailed Description
Syntax sensitive text highlighter.
Definition at line 40 of file k3syntaxhighlighter.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| PlainTextMode | |
| RichTextMode | |
Definition at line 43 of file k3syntaxhighlighter.h.
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 | ||
| ) |
Definition at line 145 of file k3syntaxhighlighter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference