MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / foreach

Function foreach

gui/qt/datawidget.cpp:190–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 setFormat(match.capturedStart(5), match.capturedLength(5), bytesFormat);
189 setFormat(match.capturedStart(6), match.capturedLength(6), mnemonicFormat);
190 foreach(const HighlightingRule &rule, highlightingRules) {
191 QRegularExpressionMatchIterator iter = rule.pattern.globalMatch(text, match.capturedEnd());
192 while (iter.hasNext()) {
193 const auto& innerMatch = iter.next();
194 if (innerMatch.hasMatch()) {
195 setFormat(innerMatch.capturedStart(), innerMatch.capturedLength(), rule.format);
196 }
197 }
198 }
199 }
200}

Callers

nothing calls this directly

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected