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 }
#define nullptr
Definition: backward.hpp:386
QSyntaxStyle * syntaxStyle() const
Method for getting syntax style.
QStyleSyntaxHighlighter(QTextDocument *document=nullptr)
Constructor.
Class, that describes Qt style parser for QCodeEditor.
void setSyntaxStyle(QSyntaxStyle *style)
Method for setting syntax style.


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38