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

Class WrapLineCacheData

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

Source from the content-addressed store, hash-verified

102QAtomicInteger<size_t> RecalcWordWrapRunner::s_maxNofRunnables = 0;
103
104class WrapLineCacheData
105{
106 public:
107 WrapLineCacheData() = default;
108 WrapLineCacheData(qint32 d3LineIdx, qint32 textStart, qint32 textLength):
109 m_d3LineIdx(d3LineIdx), m_textStart(textStart), m_textLength(textLength) {}
110 [[nodiscard]] qint32 d3LineIdx() const { return m_d3LineIdx; }
111 [[nodiscard]] qint32 textStart() const { return m_textStart; }
112 [[nodiscard]] qint32 textLength() const { return m_textLength; }
113
114 private:
115 qint32 m_d3LineIdx = 0;
116 qint32 m_textStart = 0;
117 qint32 m_textLength = 0;
118};
119
120class DiffTextWindowData
121{

Callers 1

recalcWordWrapHelperMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected