JSHighlighter Class Reference

#include <jsHighlighter.h>

List of all members.

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)

Member Enumeration Documentation

enum JSHighlighter::State [protected]
Enumerator:
NormalState 
InsideCStyleComment 
InsideString 

Constructor & Destructor Documentation

JSHighlighter::JSHighlighter ( QObject parent  ) 
JSHighlighter::JSHighlighter ( QTextDocument document  ) 
JSHighlighter::JSHighlighter ( QTextEdit editor  ) 
JSHighlighter::~JSHighlighter (  ) 

Member Function Documentation

void JSHighlighter::highlightBlock ( const QString text  )  [protected, virtual]

Reimplemented from QSyntaxHighlighter.


Member Data Documentation


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

Generated on Tue Apr 20 12:03:12 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1