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

Function PyHighLightRule

Gui/ScriptTextEdit.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

initializeRulesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected