Summary: | find/replace tool does not find all occurrencies of a multiline string | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Germano Massullo <germano.massullo> |
Component: | search | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aristsakas |
Priority: | NOR | ||
Version First Reported In: | 22.08.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | sample file |
I can also confirm this bug with the given attachment in Fedora 42 Kate 24.12 i also tested 25.04. |
Created attachment 154811 [details] sample file SUMMARY find/replace tool does not find all occurrencies of a multiline string. To be able to do that you have first to click on the body of the textfile, then click again on "find all". More infos below STEPS TO REPRODUCE 1. Open attached file test.txt 2. copy lines from number 2 to 20 included 3. go to "Edit-> Replace" 4. in the toolbar of Replace, paste the text you copied in step 2, into the "find" box 5. click on "Find All" button. You will see that only 1 occurrency has been found, instead of 2 that should have been expected 6. click once on the body of the text in Kate main window 7. click again on "Find All" button of the Find/Replace toolbar. You will see that now the 2 occurrencies have been detected SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 37 KDE KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7