Changeset 1096 for s10k/CommonLibs/jsonhighlighter
- Timestamp:
- Dec 30, 2017, 3:40:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
s10k/CommonLibs/jsonhighlighter/highlighter.cpp
r1073 r1096 32 32 void Highlighter::highlightBlock(const QString &text) 33 33 { 34 for each (const HighlightingRule &rule,rules) {34 for (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.