MCPcopy Create free account
hub / github.com/KDE/kdiff3 / leftInfoWidth

Method leftInfoWidth

src/difftextwindow.cpp:187–187  ·  view source on GitHub ↗

TODO: Fix after line number area is converted to a QWidget.

Source from the content-addressed store, hash-verified

185
186 //TODO: Fix after line number area is converted to a QWidget.
187 [[nodiscard]] qint32 leftInfoWidth() const { return 4 + (gOptions->m_bShowLineNumbers ? m_pDiffTextWindow->getLineNumberWidth() : 0); } // Number of information columns on left side
188 [[nodiscard]] LineRef convertLineOnScreenToLineInSource(const qint32 lineOnScreen, const e_CoordType coordType, const bool bFirstLine) const;
189
190 void prepareTextLayout(QTextLayout& textLayout, qint32 visibleTextWidth = -1);

Callers 5

mousePressEventMethod · 0.80
mouseMoveEventMethod · 0.80
resizeEventMethod · 0.80
recalcWordWrapHelperMethod · 0.80

Calls 1

getLineNumberWidthMethod · 0.80

Tested by

no test coverage detected