BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Container to describe a highlighting rule. Based on a regular expression, a relevant match # and the format.
Definition at line 45 of file PythonSyntaxHighlighter.h.
Public Member Functions | |
HighlightingRule (const QString &patternStr, int n, const QTextCharFormat &matchingFormat) | |
Public Attributes | |
QTextCharFormat | format |
int | nth |
QString | originalRuleStr |
QRegExp | pattern |
|
inline |
Definition at line 47 of file PythonSyntaxHighlighter.h.
References format, nth, originalRuleStr, and pattern.
QTextCharFormat HighlightingRule::format |
Definition at line 57 of file PythonSyntaxHighlighter.h.
Referenced by HighlightingRule().
int HighlightingRule::nth |
Definition at line 56 of file PythonSyntaxHighlighter.h.
Referenced by HighlightingRule().
QString HighlightingRule::originalRuleStr |
Definition at line 54 of file PythonSyntaxHighlighter.h.
Referenced by HighlightingRule().
QRegExp HighlightingRule::pattern |
Definition at line 55 of file PythonSyntaxHighlighter.h.
Referenced by HighlightingRule().