MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / foreach

Function foreach

MiniZincIDE/codeeditor.cpp:415–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 auto ec = theme.errorColor.get(darkMode);
414 auto wc = theme.warningColor.get(darkMode);
415 foreach (QTextEdit::ExtraSelection sel, allExtraSels) {
416 if (sel.format.underlineColor() == ec || sel.format.underlineColor() == wc) {
417 extraSelections.append(sel);
418 }
419 }
420
421 if (bd) {
422 QVector<Bracket>& brackets = bd->brackets;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected