#include <jsHighlighter.h>
Public Member Functions | |
JSHighlighter (QTextEdit *editor) | |
JSHighlighter (QTextDocument *document) | |
JSHighlighter (QObject *parent) | |
~JSHighlighter () | |
Protected Types | |
enum | State { NormalState = -1, InsideCStyleComment, InsideString } |
Protected Attributes | |
QColor | _commentColor |
QColor | _errorColor |
QColor | _extensionColor |
QColor | _keywordColor |
QColor | _literalColor |
Protected Member Functions | |
virtual void | highlightBlock (const QString &text) |
enum JSHighlighter::State [protected] |
JSHighlighter::JSHighlighter | ( | QObject * | parent | ) |
JSHighlighter::JSHighlighter | ( | QTextDocument * | document | ) |
JSHighlighter::JSHighlighter | ( | QTextEdit * | editor | ) |
JSHighlighter::~JSHighlighter | ( | ) |
void JSHighlighter::highlightBlock | ( | const QString & | text | ) | [protected, virtual] |
Reimplemented from QSyntaxHighlighter.
QColor JSHighlighter::_commentColor [protected] |
QColor JSHighlighter::_errorColor [protected] |
QColor JSHighlighter::_extensionColor [protected] |
QColor JSHighlighter::_keywordColor [protected] |
QColor JSHighlighter::_literalColor [protected] |
Generated on Tue Apr 20 12:03:12 2010 | xTuple ERP Programmer Reference, Version 3.5.0 | 1.6.1 |