MCPcopy Create free account
hub / github.com/TeXworks/texworks / foreach

Function foreach

modules/QtPDF/src/PDFDocumentTools.cpp:815–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813 // or not (in which case we use marquee select mode)
814 _cursorOverBox = false;
815 foreach(Backend::Page::Box b, _boxes) {
816 if (b.boundingBox.contains(curPdfCoords)) {
817 _cursorOverBox = true;
818 break;
819 }
820 }
821 _parent->viewport()->setCursor(_cursorOverBox ? Qt::IBeamCursor : Qt::CrossCursor);
822 break;
823 }

Callers 1

mouseReleaseEventMethod · 0.70

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected