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

Method setDebugInfoPos

MiniZincIDE/codeeditor.cpp:358–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358void CodeEditor::setDebugInfoPos(const QRect &rect, int dy)
359{
360 if (dy)
361 debugInfo->scroll(0, dy);
362 else
363 debugInfo->update(0, rect.y(), debugInfo->width(), rect.height());
364
365
366 if (rect.contains(viewport()->rect()))
367 setViewportWidth(0);
368}
369
370
371

Callers

nothing calls this directly

Calls 4

containsMethod · 0.80
updateMethod · 0.45
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected