Changeset 1110 for s10k/CommonLibs/jsonhighlighter/highlighter.cpp
- Timestamp:
- Feb 16, 2019, 6:24:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
s10k/CommonLibs/jsonhighlighter/highlighter.cpp
r1096 r1110 32 32 void Highlighter::highlightBlock(const QString &text) 33 33 { 34 for (const HighlightingRule &rule :rules) {34 foreach (const HighlightingRule &rule, rules) { 35 35 QRegExp expression(rule.pattern); 36 36 int index = expression.indexIn(text);
Note:
See TracChangeset
for help on using the changeset viewer.