Navigator2Go  2.0
Manage your local Ocean Navigator installation.
HTMLHighlighter Class Reference
Inheritance diagram for HTMLHighlighter:
Collaboration diagram for HTMLHighlighter:

Classes

struct  HighlightingRule
 

Public Member Functions

 HTMLHighlighter (QTextDocument *parent=nullptr)
 

Protected Member Functions

void highlightBlock (const QString &text) Q_DECL_OVERRIDE
 

Private Types

enum  States { None, Tag, Comment, Quote }
 

Private Attributes

QVector< HighlightingRulem_startTagRules
 
QVector< HighlightingRulem_endTagRules
 
QRegExp m_openTag
 
QRegExp m_closeTag
 
QTextCharFormat m_edgeTagFormat
 
QTextCharFormat m_insideTagFormat
 
QRegExp m_commentStartExpression
 
QRegExp m_commentEndExpression
 
QTextCharFormat m_multiLineCommentFormat
 
QRegExp m_quotes
 
QTextCharFormat m_quotationFormat
 
QTextCharFormat m_tagsFormat
 

Member Function Documentation

void HTMLHighlighter::highlightBlock ( const QString &  text)
protected

QUOTES ///////////////////////////////////////


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