Qucs-GUI
0.0.19
|
#include <syntax.h>
Data Structures | |
struct | HighlightingRule |
Public Member Functions | |
SyntaxHighlighter (TextDoc *) | |
virtual | ~SyntaxHighlighter () |
void | setLanguage (int) |
void | highlightBlock (const QString &) |
Private Attributes | |
int | language |
TextDoc * | Doc |
QVector< HighlightingRule > | highlightingRules |
QTextCharFormat | reservedWordFormat |
QTextCharFormat | unitFormat |
QTextCharFormat | datatypeFormat |
QTextCharFormat | directiveFormat |
QTextCharFormat | functionFormat |
QTextCharFormat | commentFormat |
SyntaxHighlighter::SyntaxHighlighter | ( | TextDoc * | textEdit | ) |
Definition at line 28 of file syntax.cpp.
SyntaxHighlighter::~SyntaxHighlighter | ( | ) | [virtual] |
Definition at line 53 of file syntax.cpp.
void SyntaxHighlighter::highlightBlock | ( | const QString & | text | ) |
Definition at line 248 of file syntax.cpp.
void SyntaxHighlighter::setLanguage | ( | int | lang | ) |
QTextCharFormat SyntaxHighlighter::commentFormat [private] |
QTextCharFormat SyntaxHighlighter::datatypeFormat [private] |
QTextCharFormat SyntaxHighlighter::directiveFormat [private] |
TextDoc* SyntaxHighlighter::Doc [private] |
QTextCharFormat SyntaxHighlighter::functionFormat [private] |
QVector<HighlightingRule> SyntaxHighlighter::highlightingRules [private] |
int SyntaxHighlighter::language [private] |
QTextCharFormat SyntaxHighlighter::reservedWordFormat [private] |
QTextCharFormat SyntaxHighlighter::unitFormat [private] |