https://bugs.kde.org/show_bug.cgi?id=472608
Bug ID: 472608 Summary: Search in files: Enter key should replace only current item Classification: Applications Product: kate Version: 22.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: search Assignee: kwrite-bugs-n...@kde.org Reporter: k...@dhardy.name Target Milestone: --- In Kate, per-file search-replace works like this: - Press Ctrl+R to activate - Type in search query - Press <Enter> or <F3> to go to next result - Press Tab to move to the "replace" box - Type in a replacement text/pattern - Press <Enter> to replace the current result with the contents of the "replace" box. In contrast, cross-file search works like this: - Press <Ctrl+Shift+F> or click the "Search" button to activate - Type in search query - Press <Enter> or click "Search" to go to find all results - Press <F6> to go to the next result - Press Tab to move to the "replace" box - Type in a replacement text/pattern - Press <Enter> to replace all results with the replacement pattern. The user experience differs, which is not intuitive. Suggestions for changes to the "Find in files" tool follow. Problem 1 (minor): pressing <Enter> in the query box does not move to the first/next result. Suggestion: <Enter> should perform the search if the query has changed, then move to the next result. Problem 2: pressing <Enter> from the replacement box updates all results. Suggestion: <Enter> should behave like per-file search-and-replace: replace the current result only and move to the next. Worse, there is no "all files undo". With the current behaviour it is easy to mistakenly run the wrong operation, and hard to revert if many files are affected. In my opinion, only the "Replace Checked" button (which is hard to press accidentally) should replace everything. -- You are receiving this mail because: You are watching all bug changes.