MCPcopy Create free account
hub / github.com/cloose/CuteMarkEd / updateLineNumberArea

Method updateLineNumberArea

app/markdowneditor.cpp:232–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void MarkdownEditor::updateLineNumberArea(const QRect &rect, int dy)
233{
234 if (dy)
235 lineNumberArea->scroll(0, dy);
236 else
237 lineNumberArea->update(0, rect.y(), lineNumberArea->width(), rect.height());
238
239 if (rect.contains(viewport()->rect()))
240 updateLineNumberAreaWidth(0);
241}
242
243void MarkdownEditor::editorFontChanged(const QFont &font)
244{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.80
containsMethod · 0.80

Tested by

no test coverage detected