MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / marginsWidth

Method marginsWidth

src/plugins/codeeditor/gui/private/texteditor_p.cpp:333–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333int TextEditorPrivate::marginsWidth()
334{
335 int width = 0;
336 auto count = q->margins();
337 for (int i = 0; i < count; ++i) {
338 width += q->marginWidth(i);
339 }
340
341 return width;
342}
343
344void TextEditorPrivate::setMarginVisible(TextEditorPrivate::MarginType type, bool visible)
345{

Callers 1

contextMenuEventMethod · 0.80

Calls 2

marginsMethod · 0.80
marginWidthMethod · 0.80

Tested by

no test coverage detected