Bug 512530 - Add option to disable wrap-around in Find/Replace
Summary: Add option to disable wrap-around in Find/Replace
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: search (other bugs)
Version First Reported In: 25.08.1
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-23 20:52 UTC by Ghislain
Modified: 2025-11-23 20:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ghislain 2025-11-23 20:52:33 UTC
SUMMARY
Add option to disable wrap‑around in Find/Replace dialog

STEPS TO REPRODUCE
Open a file in Kate.
Use the Find dialog to search for a term that occurs near the end of the file.
Continue searching until the end of the file is reached.

OBSERVED RESULT
Search automatically wraps to the beginning of the file and continues finding matches from the start, with no way to disable this behavior.

EXPECTED RESULT
Provide a user‑selectable option (e.g., a checkbox “Wrap search around”) so that searches can stop at EOF instead of looping back to the beginning.

SOFTWARE/OS VERSIONS 
Linux Ubuntu 25.10, KDE Plasma Version: 6.4.5, KDE Frameworks Version: 6.17.0, Qt Version: 6.9.2

ADDITIONAL INFORMATION
This is a usability enhancement request. Other editors such as VS Code and Notepad++ offer a “wrap search” toggle, which helps users avoid confusion when working with large files. Adding this option in Kate would improve consistency and user control.