fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
821 stars 220 forks source link

Find and Replace dialog - add "highlight all" checkbox (or inherit setting from quick find) #905

Open gene-pavlovsky opened 8 years ago

gene-pavlovsky commented 8 years ago

Quick find has a "highlight all" feature, Find and Replace in files has this feature, why the regular Find and Replace doesn't? It would be very useful, especially when doing some find&replace with regular expressions, e.g. I type in a regular expression into find what press find next to preview all the matches, before I do replace next or replace all The three find dialogs (quickfind, find and replace, find and replace in files) could have their own separate setting for highlight all, or maybe they should be linked together. Or maybe only the quickfind should have this as a checkbox, while both find and replace dialogs should do that by default?

Meychi commented 8 years ago

Find and Replace has bookmark all, maybe this should be turned into highlight all. Is the bookmark functionality needed or used @elsassph?

gene-pavlovsky commented 8 years ago

Never noticed it, I guess it could be used for the task, as well as F2 could be used to navigate the results. However if a developer uses bookmarks manually a lot, it might mess up his already made bookmarks, as well as mixing search results with his own bookmarks so F2 would be not that useful. The feature I'm requesting, though, would be quite useful anyway, for previewing matches to be replaced (well it would be nice to get a preview list of proposed replacements, which can then cancel, approve, or replace particular items, or delete unwanted items then approve the rest - butI posted a separate enhancement request for that).

gene-pavlovsky commented 8 years ago

Any decision made on this?

gene-pavlovsky commented 6 years ago

I never use bookmark all, do others? Propose to change the "Bookmark all" button to "Highlight all". It would be useful to preview the matches, especially useful for regexp matching