QStyleSyntaxHighlighter.cpp
Go to the documentation of this file.
1 // QCodeEditor
2 #include <QStyleSyntaxHighlighter>
3 
5  QSyntaxHighlighter(document),
6  m_syntaxStyle(nullptr)
7 {
8 
9 }
10 
12 {
13  m_syntaxStyle = style;
14 }
15 
17 {
18  return m_syntaxStyle;
19 }
QStyleSyntaxHighlighter::QStyleSyntaxHighlighter
QStyleSyntaxHighlighter(QTextDocument *document=nullptr)
Constructor.
Definition: QStyleSyntaxHighlighter.cpp:4
QStyleSyntaxHighlighter::syntaxStyle
QSyntaxStyle * syntaxStyle() const
Method for getting syntax style.
Definition: QStyleSyntaxHighlighter.cpp:16
QSyntaxStyle
Class, that describes Qt style parser for QCodeEditor.
Definition: QSyntaxStyle.hpp:13
QStyleSyntaxHighlighter::setSyntaxStyle
void setSyntaxStyle(QSyntaxStyle *style)
Method for setting syntax style.
Definition: QStyleSyntaxHighlighter.cpp:11
QStyleSyntaxHighlighter::m_syntaxStyle
QSyntaxStyle * m_syntaxStyle
Definition: QStyleSyntaxHighlighter.hpp:39
nullptr
#define nullptr
Definition: backward.hpp:386


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45