#include <ScriptEditorImplementation.h>
◆ ScriptEditorSyntaxHighlighter()
ScriptEditorSyntaxHighlighter::ScriptEditorSyntaxHighlighter |
( |
ScriptEditorWidget * |
pWidget | ) |
|
◆ ~ScriptEditorSyntaxHighlighter()
ScriptEditorSyntaxHighlighter::~ScriptEditorSyntaxHighlighter |
( |
| ) |
|
|
virtualdefault |
◆ highlightBlock()
void ScriptEditorSyntaxHighlighter::highlightBlock |
( |
const QString & |
szText | ) |
|
References commentFormat, findFormat, ScriptEditorSyntaxHighlighter::KviScriptHighlightingRule::format, highlightingRules, KviRegExp::indexIn(), keywordFormat, ScriptEditorWidget::m_szFind, KviRegExp::matchedLength(), KviRegExp::pattern(), ScriptEditorSyntaxHighlighter::KviScriptHighlightingRule::pattern, SKIP_SPACES, and textEdit().
◆ textEdit()
QTextEdit * ScriptEditorSyntaxHighlighter::textEdit |
( |
| ) |
|
|
inline |
◆ updateSyntaxtTextFormat()
void ScriptEditorSyntaxHighlighter::updateSyntaxtTextFormat |
( |
| ) |
|
References bracketFormat, commentFormat, findFormat, functionFormat, g_clrBracket(), g_clrComment(), g_clrFind(), g_clrFunction(), g_clrKeyword(), g_clrPunctuation(), g_clrVariable(), keywordFormat, punctuationFormat, and variableFormat.
Referenced by ScriptEditorSyntaxHighlighter().
◆ 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
◆ 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: