We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9b0cf3 commit 24d889aCopy full SHA for 24d889a
src/searchresultmodel.cpp
@@ -324,6 +324,9 @@ QList<SearchMatch> SearchResultModel::getSearchMatches(const QDocumentLine &docl
324
match.pos = offset;
325
match.length = re_match.capturedLength();
326
result << match;
327
+ // next result
328
+ re_match = regexp.match(text,offset+match.length);
329
+ offset = re_match.capturedStart();
330
}
331
332
return result;
0 commit comments