Summary: | Search in files: Enter key should replace only current item | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Diggory Hardy <kde2> |
Component: | search | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | kare.sars |
Priority: | NOR | ||
Version: | 22.12.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Diggory Hardy
2023-07-25 10:45:02 UTC
Hi, Thanks for the report! It is unfortunate that the searches behaves differently. Problem 1: In the search & replace plugin, a search might be very expensive. That is why a full search is only triggered by enter (the current file is searched after a certain amount of waiting). The plugin also does not move the cursor when the the search is done, so moving on the second enter, feels a bit strange.... (it did jump to the first match at some point, but that was removed at some point) Problem 2A: In my experience, the replace all matches is the more common task for the cross-files replace, so making "replace-next" the more prominent one is probably not a good idea. Adding a (configurable) shortcut for Replace-Next is probably a good idea. Problem 2B: Undoing the last multi-file replace is definitely something we need! Should be added as a new separate wish-item. |