D19367: SearchBar: Don't block GUI when enter incremental pattern
Christoph Cullmann
noreply at phabricator.kde.org
Sun Sep 1 23:10:41 BST 2019
cullmann added a comment.
I thought a bit about the problem with multi-line regex.
I think we can solve this in a consistent way by allowing to incremental do matches that span more than one line.
See the first example code in this commit:
https://cgit.kde.org/ktexteditor.git/commit/?id=dbebf059575f83608c941111ac3a6d374667b5a6
This would allow to handle multi-line regex matching just like normal matching, the search code would take care to on-demand concatenate enough lines for partial matches.
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D19367
To: loh.tar, #ktexteditor, dhaumann, cullmann
Cc: cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190901/521e2594/attachment-0001.html>
More information about the KWrite-Devel
mailing list