| 152 | } |
| 153 | |
| 154 | void reset() |
| 155 | { |
| 156 | while(DiffTextWindow::maxThreads() > 0) {} //Clear word wrap threads. |
| 157 | |
| 158 | m_firstLine = 0; |
| 159 | m_oldFirstLine = LineRef::invalid; |
| 160 | m_horizScrollOffset = 0; |
| 161 | m_scrollDeltaX = 0; |
| 162 | m_scrollDeltaY = 0; |
| 163 | m_bMyUpdate = false; |
| 164 | m_fastSelectorLine1 = 0; |
| 165 | m_fastSelectorNofLines = 0; |
| 166 | m_maxTextWidth = -1; |
| 167 | |
| 168 | m_pLineData = nullptr; |
| 169 | m_size = 0; |
| 170 | mDiff3LineVector = nullptr; |
| 171 | m_filename = ""; |
| 172 | m_diff3WrapLineVector.clear(); |
| 173 | } |
| 174 | |
| 175 | [[nodiscard]] QString getString(const LineType d3lIdx) const; |
| 176 | [[nodiscard]] QString getLineString(const qint32 line) const; |