|
Developer Documentation
|
Container to describe a highlighting rule. Based on a regular expression, a relevant match # and the format. More...
#include <OpenFlipper/widgets/pythonWidget/PythonSyntaxHighlighter.hh>
Public Member Functions | |
| HighlightingRule (const QString &patternStr, int n, const QTextCharFormat &matchingFormat) | |
Public Attributes | |
| QString | originalRuleStr |
| QRegularExpression | pattern |
| int | nth |
| QTextCharFormat | format |
Container to describe a highlighting rule. Based on a regular expression, a relevant match # and the format.
Definition at line 34 of file PythonSyntaxHighlighter.hh.
|
inline |
Definition at line 37 of file PythonSyntaxHighlighter.hh.
| QTextCharFormat HighlightingRule::format |
Definition at line 48 of file PythonSyntaxHighlighter.hh.
| int HighlightingRule::nth |
Definition at line 47 of file PythonSyntaxHighlighter.hh.
| QString HighlightingRule::originalRuleStr |
Definition at line 45 of file PythonSyntaxHighlighter.hh.
| QRegularExpression HighlightingRule::pattern |
Definition at line 46 of file PythonSyntaxHighlighter.hh.