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

Method updateLineNumberArea

gui/qt/basiccodeviewerwindow.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void BasicEditor::updateLineNumberArea(const QRect &rect, int dy)
74{
75 if (dy)
76 lineNumberArea->scroll(0, dy);
77 else
78 lineNumberArea->update(0, rect.y(), lineNumberArea->width(), rect.height());
79
80 if (rect.contains(viewport()->rect()))
81 updateLineNumberAreaWidth(0);
82}
83
84void BasicEditor::resizeEvent(QResizeEvent *e)
85{

Callers

nothing calls this directly

Calls 1

scrollMethod · 0.80

Tested by

no test coverage detected