Find/search: ignores fields in labels (important for netclass-assignment)
Description
v7 introduced the option to include extra fields for all label-types (local, global, hierarchical, netclass-directive).
The search-function and the search&replace function currently ignore these new additional fields inside of all label-types. This makes it hard to work/modify with graphical netclass assignment in more complex designs.
Affects also v7.
Not sure if this counts as bug or as enhancement (feature request).
Steps to reproduce
- open attached project, open schematic: find_fields.zip
- CTRL+F to search (get Find-dialog)
- search-string: "class" or "netclass"
- notice: in the background some netclass-strings are already found and shown in rose color
- hit button "Find" - no results
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: (7.99.0-248-g1651b44ab1), release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.2
Curl: 7.87.0-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON