| 30 | } |
| 31 | |
| 32 | void SearchResultsCollector::newFileEntry(ScintillaNext *editor) |
| 33 | { |
| 34 | // There may be a result that was not passed along yet |
| 35 | if (runningHitCount > 0) { |
| 36 | child->newResultsEntry(prevLine, prevLineNumber, prevStartPositionFromBeginning, prevEndPositionFromBeginning, runningHitCount); |
| 37 | } |
| 38 | runningHitCount = 0; |
| 39 | |
| 40 | child->newFileEntry(editor); |
| 41 | } |
| 42 | |
| 43 | void SearchResultsCollector::newResultsEntry(const QString line, int lineNumber, int startPositionFromBeginning, int endPositionFromBeginning, int hitCount) |
| 44 | { |
nothing calls this directly
no test coverage detected