# 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< HighlightingRule > | highlightingRules
| 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

QRegExp Highlighter_Dec::commentEndExpression`[private]`

regular expression for comment section end item

QRegExp Highlighter_Dec::commentStartExpression`[private]`

regular expression for comment section start item

QVector<HighlightingRule> Highlighter_Dec::highlightingRules`[private]`

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:

- highlighter_dec.h
- highlighter_dec.cpp