MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / PyHighLightRule

Function PyHighLightRule

Gui/ScriptTextEdit.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54struct PyHighLightRule
55{
56 PyHighLightRule(const QString &patternStr,
57 int n,
58 const QTextCharFormat &matchingFormat)
59 {
60 originalRuleStr = patternStr;
61 pattern = QRegExp(patternStr);
62 nth = n;
63 format = matchingFormat;
64 }
65
66 QString originalRuleStr;
67 QRegExp pattern;

Callers 1

initializeRulesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected