KVIrc 5.2.6
Developer APIs
ScriptEditorSyntaxHighlighter Class Referencefinal

#include <ScriptEditorImplementation.h>

+ Inheritance diagram for ScriptEditorSyntaxHighlighter:

Classes

struct  KviScriptHighlightingRule
 

Public Member Functions

void highlightBlock (const QString &szText)
 
 ScriptEditorSyntaxHighlighter (ScriptEditorWidget *pWidget)
 
QTextEdit * textEdit ()
 
void updateSyntaxtTextFormat ()
 
virtual ~ScriptEditorSyntaxHighlighter ()
 

Public Attributes

QTextEdit * m_pTextEdit
 

Private Attributes

QTextCharFormat bracketFormat
 
KviRegExp commentEndExpression
 
QTextCharFormat commentFormat
 
KviRegExp commentStartExpression
 
QTextCharFormat findFormat
 
QTextCharFormat functionFormat
 
QVector< KviScriptHighlightingRulehighlightingRules
 
QTextCharFormat keywordFormat
 
QTextCharFormat normaltextFormat
 
QTextCharFormat punctuationFormat
 
QTextCharFormat variableFormat
 

Constructor & Destructor Documentation

◆ ScriptEditorSyntaxHighlighter()

◆ ~ScriptEditorSyntaxHighlighter()

ScriptEditorSyntaxHighlighter::~ScriptEditorSyntaxHighlighter ( )
virtualdefault

Member Function Documentation

◆ highlightBlock()

◆ textEdit()

QTextEdit * ScriptEditorSyntaxHighlighter::textEdit ( )
inline

References m_pTextEdit.

Referenced by highlightBlock().

◆ updateSyntaxtTextFormat()

Member Data Documentation

◆ bracketFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::bracketFormat
private

◆ commentEndExpression

KviRegExp ScriptEditorSyntaxHighlighter::commentEndExpression
private

◆ commentFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::commentFormat
private

◆ commentStartExpression

KviRegExp ScriptEditorSyntaxHighlighter::commentStartExpression
private

◆ findFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::findFormat
private

◆ functionFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::functionFormat
private

◆ highlightingRules

QVector<KviScriptHighlightingRule> ScriptEditorSyntaxHighlighter::highlightingRules
private

◆ keywordFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::keywordFormat
private

◆ m_pTextEdit

QTextEdit* ScriptEditorSyntaxHighlighter::m_pTextEdit

◆ normaltextFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::normaltextFormat
private

◆ punctuationFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::punctuationFormat
private

◆ variableFormat

QTextCharFormat ScriptEditorSyntaxHighlighter::variableFormat
private

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