MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / updateLineNumberArea

Method updateLineNumberArea

src/scripts.cpp:556–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556void ScriptEditor::updateLineNumberArea(const QRect &rect, int dy)
557{
558 if (dy)
559 lineNumberArea->scroll(0, dy);
560 else
561 lineNumberArea->update(0, rect.y(), lineNumberArea->width(), rect.height());
562
563 if (rect.contains(viewport()->rect()))
564 updateLineNumberAreaWidth(0);
565}
566
567void ScriptEditor::resizeEvent(QResizeEvent *e)
568{

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected