loh.tar added a comment.
> The batch processing approach is sane. hm, thanks > My real issue here is: What to do with multi-line expressions that might span more than one line? Won't we miss matches if the ranges just overlap at that locations? Well, yes...that should be the case. I had also some idea but ... > not compute the batch ranges beforehand ...that sound not so nice. What if I would keep it but find some solution? OTH is that multiline search for me a slightly rare case REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D19367 To: loh.tar, #ktexteditor, dhaumann, cullmann Cc: cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann