|
| SyntaxHighlighterBase (const QString &name, QTextDocument *parent, const QString &description="", QSharedPointer< CodeEditorStyle > editorStyle=QSharedPointer< CodeEditorStyle >()) |
|
void | setFoldDetector (QSharedPointer< FoldDetector > foldDetector) |
|
virtual void | onStateChanged (bool state) |
|
virtual void | onInstall (CodeEditor *editor) |
|
QSharedPointer< CodeEditorStyle > | editorStyle () const |
|
void | highlightBlock (const QString &text) |
|
void | refreshEditor (QSharedPointer< CodeEditorStyle > editorStyle) |
|
virtual void | highlight_block (const QString &text, QTextBlock &block)=0 |
|
virtual void | default_highlight_block (const QString &text, const TextBlockUserData *textBlockUserData)=0 |
|
virtual void | rehighlight () |
|
| Mode (const Mode ©) |
|
| Mode (const QString &name, const QString &description="") |
|
bool | operator== (const Mode &other) const |
|
virtual void | onUninstall () |
|
QString | name () const |
|
bool | enabled () const |
|
void | setEnabled (bool enabled) |
|
CodeEditor * | editor () const |
|
bool | onClose () const |
|
virtual QList< QAction * > | actions () const |
|
|
void | highlightWhitespaces (const QString &text) |
|
|
static QTextBlock | findPrevNonBlankBlock (const QTextBlock ¤tBlock) |
|
|
QRegularExpression | m_regWhitespaces |
|
QRegularExpression | m_regSpacesPtrn |
|
QSharedPointer< CodeEditorStyle > | m_editorStyle |
|
QSharedPointer< FoldDetector > | m_foldDetector |
|
|
typedef QSharedPointer< Mode > | Ptr |
|
◆ onInstall()
void ito::SyntaxHighlighterBase::onInstall |
( |
CodeEditor * | editor | ) |
|
|
virtual |
◆ onStateChanged()
void ito::SyntaxHighlighterBase::onStateChanged |
( |
bool | state | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/codeEditor/syntaxHighlighter/syntaxHighlighterBase.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/codeEditor/syntaxHighlighter/syntaxHighlighterBase.cpp