eeschema: find and replace should work with selection
Description
wish / proposal / for discussion: The dialog-window of the "Find and Replace"-Tool could benefit from a checkbox "search only at selected items".
This would limit the scope of the search to the selection made prior to the invocation of find&replace. I have attached a mockup (picture1)
some additional notes before coding starts:
- If this new checkbox is added the checkbox "current sheet only" may be redundant, as there would be the possibility for CTRL-A (select whole schematic sheet) followed by CTRL-ALT-F
- if the CTRL-ALT-F (find&replace) is invoked with an active selection the "search only at selected items"-checkbox could be pre-checked. This idea is copied from libreoffice and there it works well. look at Picture2.
- I would like to see this feature on find&replace, but perhaps it's also useful with the normal "FIND"-dialog
- it's a minor wish and only a comfort-feature
Steps to reproduce
KiCad Version
Application: KiCad Schematic Editor (64-bit)
Version: (5.99.0-12636-gdd1d36d40a), release build
Libraries:
wxWidgets 3.1.5
Platform: Windows 10 (build 19041), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.78.0-DEV
ngspice: 35
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON