KVIrc  4.9.2
DeveloperAPIs
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
ScriptEditorSyntaxHighlighter Class Reference

#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
 
QRegExp commentEndExpression
 
QTextCharFormat commentFormat
 
QRegExp commentStartExpression
 
QTextCharFormat findFormat
 
QTextCharFormat functionFormat
 
QVector
< KviScriptHighlightingRule
highlightingRules
 
QTextCharFormat keywordFormat
 
QTextCharFormat normaltextFormat
 
QTextCharFormat punctuationFormat
 
QTextCharFormat variableFormat
 

Constructor & Destructor Documentation

ScriptEditorSyntaxHighlighter::ScriptEditorSyntaxHighlighter ( ScriptEditorWidget pWidget)
ScriptEditorSyntaxHighlighter::~ScriptEditorSyntaxHighlighter ( )
virtualdefault

Member Function Documentation

void ScriptEditorSyntaxHighlighter::highlightBlock ( const QString &  szText)
QTextEdit* ScriptEditorSyntaxHighlighter::textEdit ( )
inline

References m_pTextEdit.

Referenced by highlightBlock().

void ScriptEditorSyntaxHighlighter::updateSyntaxtTextFormat ( )

Member Data Documentation

QTextCharFormat ScriptEditorSyntaxHighlighter::bracketFormat
private
QRegExp ScriptEditorSyntaxHighlighter::commentEndExpression
private
QTextCharFormat ScriptEditorSyntaxHighlighter::commentFormat
private
QRegExp ScriptEditorSyntaxHighlighter::commentStartExpression
private
QTextCharFormat ScriptEditorSyntaxHighlighter::findFormat
private
QTextCharFormat ScriptEditorSyntaxHighlighter::functionFormat
private
QVector<KviScriptHighlightingRule> ScriptEditorSyntaxHighlighter::highlightingRules
private
QTextCharFormat ScriptEditorSyntaxHighlighter::keywordFormat
private
QTextEdit* ScriptEditorSyntaxHighlighter::m_pTextEdit

Referenced by textEdit().

QTextCharFormat ScriptEditorSyntaxHighlighter::normaltextFormat
private
QTextCharFormat ScriptEditorSyntaxHighlighter::punctuationFormat
private
QTextCharFormat ScriptEditorSyntaxHighlighter::variableFormat
private

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