Highlighter_Dec Class Reference

#include <highlighter_dec.h>

List of all members.

Classes

struct  HighlightingRule

Public Member Functions

 Highlighter_Dec (QTextDocument *parent=0)

Protected Member Functions

void highlightBlock (const QString &text)

Private Attributes

QVector< HighlightingRulehighlightingRules
 vector
QRegExp commentStartExpression
 regular expression for comment section start item
QRegExp commentEndExpression
 regular expression for comment section end item
QTextCharFormat keywordFormat
 text format for keyword
QTextCharFormat singleLineCommentFormat
 text format for single comment
QTextCharFormat multiLineCommentFormat
 text format for multi line comment


Constructor & Destructor Documentation

Highlighter_Dec::Highlighter_Dec ( QTextDocument *  parent = 0  ) 

creating function

Parameters:
QTextDocument 


Member Function Documentation

void Highlighter_Dec::highlightBlock ( const QString &  text  )  [protected]

set highlighting block


Member Data Documentation

regular expression for comment section end item

regular expression for comment section start item

vector

QTextCharFormat Highlighter_Dec::keywordFormat [private]

text format for keyword

QTextCharFormat Highlighter_Dec::multiLineCommentFormat [private]

text format for multi line comment

QTextCharFormat Highlighter_Dec::singleLineCommentFormat [private]

text format for single comment


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

Generated on Sat Jul 10 19:22:04 2010 for PLCEdit by  doxygen 1.5.9