<table><tr><td style="">cullmann added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17437">View Revision</a></tr></table><br /><div><div><p>For the: I like to suggest to get rid of most of that S&R code and use instead code from the Search plugin. There is the S&R done in an own thread and did not block the UI.</p>

<p>I would for sure like to have batched search/replace, e.g. that one does the stuff in chunks via single-shot timers and doesn't block the UI for e.g. incremental search that would be really nifty.</p>

<p>That would allow people to abort long running stuff, too.</p>

<p>(even no threads needed, just batch the stuff in e.g. 1000 line chunks)</p>

<p>I would really love to have this improved, I think there are some bugs around that wish for non-blocking search/replace, too, like other proper editors have (and we not, shame on us)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17437">https://phabricator.kde.org/D17437</a></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor, VDG, cullmann<br /><strong>Cc: </strong>cullmann, kwrite-devel, kde-frameworks-devel, KTextEditor, hase, michaelh, ngraham, bruns, demsking, sars, dhaumann<br /></div>