search tool (CTRL+F): option "complete words" delivers more results than expected
Description
If the search-tool is used with the option "words" checked than it seems that spaces and underscores work as separator between "words". This delivers more results than at first expected.
From a programmers view I can understand that, as variables are often written/separated with underscores. In the context of EDA-design it's a bit surprising.
Affects both, board and schematic editor.
forum thread: https://forum.kicad.info/t/issue-on-find-layout-text-matching-words-seems-not-to-be-working-fine/42560
Steps to reproduce
- open attached project, open schematic + board: search_underscore.zip
- run CTRL+F (search command)
- use search-phrase "PA", option Words" checked
- observe: the additional netnames/labels PA_TX + PA_RX are shown as results
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 7.0.3-24-g09febce4ce, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON