https://bugs.kde.org/show_bug.cgi?id=463440

            Bug ID: 463440
           Summary: find/replace tool does not find all occurrencies of a
                    multiline string
    Classification: Applications
           Product: kate
           Version: 22.08.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: search
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: germano.massu...@gmail.com
  Target Milestone: ---

Created attachment 154811
  --> https://bugs.kde.org/attachment.cgi?id=154811&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to