[kate] [Bug 472608] Search in files: Enter key should replace only current item

2023-07-25 Thread Kåre Särs
https://bugs.kde.org/show_bug.cgi?id=472608

Kåre Särs  changed:

   What|Removed |Added

   Severity|normal  |wishlist

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

[kate] [Bug 472608] Search in files: Enter key should replace only current item

2023-07-25 Thread Kåre Särs
https://bugs.kde.org/show_bug.cgi?id=472608

Kåre Särs  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||kare.s...@iki.fi
 Status|REPORTED|CONFIRMED

--- Comment #1 from Kåre Särs  ---
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.

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