| 102 | QAtomicInteger<size_t> RecalcWordWrapRunner::s_maxNofRunnables = 0; |
| 103 | |
| 104 | class 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 | |
| 120 | class DiffTextWindowData |
| 121 | { |
no outgoing calls
no test coverage detected